Parcourir la source

change warning to debug when directories are missing in hub sync (#1819)

mmetc il y a 2 ans
Parent
commit
6b0097a24b
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      pkg/cwhub/loader.go

+ 1 - 1
pkg/cwhub/loader.go

@@ -29,7 +29,7 @@ func parser_visit(path string, f os.DirEntry, err error) error {
 	var stage string
 
 	if err != nil {
-		log.Warningf("error while syncing hub dir: %v", err)
+		log.Debugf("while syncing hub dir: %s", err)
 		// there is a path error, we ignore the file
 		return nil
 	}