diff options
Diffstat (limited to 'config.go')
| -rw-r--r-- | config.go | 17 |
1 files changed, 8 insertions, 9 deletions
@@ -3,10 +3,7 @@ package forgepb import ( - "time" - "go.wit.com/log" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" ) // returns err1 || err2 @@ -19,12 +16,14 @@ func (f *Forge) ConfigSave() error { } } if f.Repos != nil { - // ??? - if f.HasFullScan() { - f.Repos.HasFullScan = true - t := time.Now() - f.Repos.FullScan = timestamppb.New(t) - } + /* + // ??? + if f.HasFullScan() { + f.Repos.HasFullScan = true + t := time.Now() + f.Repos.FullScan = timestamppb.New(t) + } + */ if e := f.Repos.ConfigSave(); e != nil { log.Info("forge.Repos.ConfigSave() error", e) err = e |
