VNFS is current isn't an error

This commit is contained in:
Gregory Kurtzer
2021-08-20 18:43:14 -07:00
parent cf45e5b8f6
commit d9289f9f26

View File

@@ -23,8 +23,8 @@ func Build(name string, buildForce bool) error {
if buildForce == false {
wwlog.Printf(wwlog.DEBUG, "Checking if there have been any updates to the VNFS directory\n")
if util.PathIsNewer(rootfsPath, imagePath) {
return errors.New("Skipping (VNFS is current)")
wwlog.Printf(wwlog.INFO, "Skipping (VNFS is current)\n")
return nil
}
}