mirror of
https://github.com/zrepl/zrepl.git
synced 2025-02-17 19:01:12 +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 == "" {
|
if path == "" {
|
||||||
// Try default locations
|
// Try default locations
|
||||||
for _, l := range ConfigFileDefaultLocations {
|
for _, l := range ConfigFileDefaultLocations {
|
||||||
log.Printf("trying config location %s", l)
|
|
||||||
stat, err := os.Stat(l)
|
stat, err := os.Stat(l)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Printf("stat error: %s", err)
|
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
if !stat.Mode().IsRegular() {
|
if !stat.Mode().IsRegular() {
|
||||||
|
Loading…
Reference in New Issue
Block a user