Add resource exists error on spec validate (#1506)

Co-authored-by: Anubhav <50611570+anubhav6663@users.noreply.github.com>
This commit is contained in:
Ta-Ching Chen
2020-01-27 19:09:35 +08:00
committed by GitHub
co-authored by Anubhav
parent 520cc0e130
commit 1e8148c051
5 changed files with 171 additions and 39 deletions
+5 -1
View File
@@ -43,7 +43,11 @@ func Warn(msg interface{}) {
}
func Info(msg interface{}) {
os.Stderr.WriteString(fmt.Sprintf("%v\n", trimNewline(msg)))
os.Stdout.WriteString(fmt.Sprintf("%v\n", trimNewline(msg)))
}
func Infof(format string, args ...interface{}) {
os.Stdout.WriteString(fmt.Sprintf("%v\n", trimNewline(fmt.Sprintf(format, args...))))
}
func Verbose(verbosityLevel int, format string, args ...interface{}) {