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:
@@ -149,7 +149,7 @@ func MakeArchive(targetName string, globs ...string) (string, error) {
|
||||
for _, glob := range globs {
|
||||
f, err := filepath.Glob(glob)
|
||||
if err != nil {
|
||||
log.Warn(fmt.Sprintf("Invalid glob %v: %v", glob, err))
|
||||
log.Info(fmt.Sprintf("Invalid glob %v: %v", glob, err))
|
||||
return "", err
|
||||
}
|
||||
files = append(files, f...)
|
||||
|
||||
Reference in New Issue
Block a user