Skip to content

Commit

Permalink
fix some nits
Browse files Browse the repository at this point in the history
  • Loading branch information
yeya24 committed Apr 18, 2019
1 parent df6b4e3 commit b86ca3b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cmd/thanos/sidecar.go
Expand Up @@ -115,12 +115,12 @@ func runSidecar(

confContentYaml, err := objStoreConfig.Content()
if err != nil {
return errors.Wrap(err, "error getting object store config")
return errors.Wrap(err, "getting object store config")
}

var uploads = true
if len(confContentYaml) == 0 {
level.Info(logger).Log("msg", "No supported bucket was configured, uploads will be disabled")
level.Info(logger).Log("msg", "no supported bucket was configured, uploads will be disabled")
uploads = false
}

Expand Down Expand Up @@ -345,7 +345,7 @@ func validatePrometheus(ctx context.Context, logger log.Logger, m *promMetadata)

// Check if block time is 2h.
if flags.TSDBMinTime != model.Duration(2*time.Hour) {
level.Warn(logger).Log("msg", "Found that TSDB block time is not 2h. Only 2h block time is recommended.", "block-time", flags.TSDBMinTime)
level.Warn(logger).Log("msg", "found that TSDB block time is not 2h. Only 2h block time is recommended.", "block-time", flags.TSDBMinTime)
}

return nil
Expand Down

0 comments on commit b86ca3b

Please sign in to comment.