mirror of
https://github.com/zrepl/zrepl.git
synced 2024-11-24 17:35:01 +01:00
cmd: config: remove annoying parser logs
This commit is contained in:
parent
3eaba92025
commit
eaed271a00
@ -35,10 +35,8 @@ func ParseConfig(ctx context.Context, path string) (config *Config, err error) {
|
||||
if path == "" {
|
||||
// Try default locations
|
||||
for _, l := range ConfigFileDefaultLocations {
|
||||
log.Printf("trying config location %s", l)
|
||||
stat, err := os.Stat(l)
|
||||
if err != nil {
|
||||
log.Printf("stat error: %s", err)
|
||||
continue
|
||||
}
|
||||
if !stat.Mode().IsRegular() {
|
||||
|
Loading…
Reference in New Issue
Block a user