Skip to content

Commit

Permalink
Fix lint error
Browse files Browse the repository at this point in the history
Signed-off-by: Paschalis Tsilias <[email protected]>
  • Loading branch information
tpaschalis committed Feb 9, 2024
1 parent f3b1b42 commit 97731a7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions service/remotecfg/remotecfg.go
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ func (s *Service) getCachedConfig() ([]byte, error) {
return os.ReadFile(p)
}

func (s *Service) setCachedConfig(b []byte) error {
func (s *Service) setCachedConfig(b []byte) {
s.mut.RLock()
p := s.dataPath
s.mut.RUnlock()
Expand All @@ -290,7 +290,6 @@ func (s *Service) setCachedConfig(b []byte) error {
if err != nil {
level.Error(s.opts.Logger).Log("msg", "failed to flush remote configuration contents the on-disk cache", "err", err)
}
return nil
}

func (s *Service) parseAndLoad(b []byte) error {
Expand Down

0 comments on commit 97731a7

Please sign in to comment.