Skip to content

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mtanda committed Feb 12, 2018
1 parent 2793142 commit c762b95
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion archive.go
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,6 @@ func (archiver *Archiver) archive(ctx context.Context) error {
}

if archiver.s.Index == len(matchedLabelsList) {
level.Info(archiver.logger).Log("namespace", archiver.namespace[archiver.s.Namespace], "index", archiver.s.Index, "len", len(matchedLabelsList))
lastNamespace := archiver.s.Namespace
archiver.s.Namespace++
if archiver.s.Namespace == len(archiver.namespace) {
Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ func main() {
}
}()

level.Info(logger).Log("msg", "Listening on "+cfg.listenAddress)
level.Info(logger).Log("msg", "Listening on "+cfg.listenAddr)
if err := srv.ListenAndServe(); err != nil {
level.Error(logger).Log("err", err)
}
Expand Down

0 comments on commit c762b95

Please sign in to comment.