Fixed the spec validation UX issue (#898)

Improved some of warnings/messages shown to the user when using `fission spec` command. The `spec validate` command now shows appropriate warnings instead
This commit is contained in:
Vishal
2018-09-21 14:52:49 +05:30
committed by GitHub
parent 6b49c194ca
commit 188138ccd8
5 changed files with 37 additions and 14 deletions
+4
View File
@@ -32,6 +32,10 @@ func Fatal(msg interface{}) {
}
func Warn(msg interface{}) {
os.Stderr.WriteString(fmt.Sprintf("[WARNING] %v\n", msg))
}
func Info(msg interface{}) {
os.Stderr.WriteString(fmt.Sprintf("%v\n", msg))
}