dont log noops
This commit is contained in:
@@ -205,7 +205,7 @@ func edit(dry bool, filepaths []string) error {
|
|||||||
} else if err := yaml.Unmarshal(b, &rootOld); err != nil {
|
} else if err := yaml.Unmarshal(b, &rootOld); err != nil {
|
||||||
return err
|
return err
|
||||||
} else if rootTemp.Equals(rootOld) {
|
} else if rootTemp.Equals(rootOld) {
|
||||||
log.Printf("no changes to %s", filepath)
|
//log.Printf("no changes to %s", filepath)
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
if dry {
|
if dry {
|
||||||
@@ -329,7 +329,7 @@ func dump(dry bool, writer io.Writer, filepaths []string, tags []string, search,
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
log.Printf("not refreshing %s", filepath)
|
//log.Printf("not refreshing %s", filepath)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user