summaryrefslogtreecommitdiff
path: root/config.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-12-13 00:19:33 -0600
committerJeff Carr <[email protected]>2024-12-13 00:19:33 -0600
commitc5f7570834f092608cd2137e966399f44aa02d36 (patch)
treed0aee40b2fffc1729b654c9cfbe65a4a0183d768 /config.go
parentadddfad2b7418dcaec4bd6c97219b72774fe0cac (diff)
working on go-mod-clean
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'config.go')
-rw-r--r--config.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/config.go b/config.go
index 38b6518..4d86b81 100644
--- a/config.go
+++ b/config.go
@@ -56,9 +56,9 @@ func (all *Repos) ConfigLoad() error {
return errors.New("gitpb.ConfigLoad() repos.pb is empty")
}
if all.Repos == nil {
- log.Warn("gitpb.ConfigLoad() all.Repos == nil")
+ // log.Warn("gitpb.ConfigLoad() all.Repos == nil")
} else {
- log.Warn("gitpb.ConfigLoad() all.Repos.Len()", all.Len())
+ log.Warn("gitpb.ConfigLoad() error. should be zero. all.Repos.Len() =", all.Len())
}
if err = all.Unmarshal(data); err != nil {
log.Warn("gitpb.ConfigLoad() failed", err)
@@ -71,7 +71,7 @@ func (all *Repos) ConfigLoad() error {
}
return err
}
- log.Info("gitpb.Init()", len(all.Repos), "repos in ~/.config/forge/repos.pb")
+ log.Info("gitpb.Init() ", len(all.Repos), "repos in ~/.config/forge/repos.pb")
return nil
}
return nil