Skip to content

Commit c7a1cc4

Browse files
authored
Merge pull request #218 from synfinatic/reduce-warnings
reduce number of warnings
2 parents 11f7dfc + bf1aaac commit c7a1cc4

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

CHANGELOG.md

+3
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@
1414
* Setup now defaults to `warn` log level instead of `info` #214
1515
* `console` command did not know when you are using a non-Default SSO instance #208
1616

17+
### Changes
18+
* Reduce number of warnings #205
19+
1720
## [1.6.0] - 2021-12-24
1821

1922
### Breaking Changes

cmd/tags_cmd.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ func (cc *TagsCmd) Run(ctx *RunContext) error {
4848
}
4949
err = set.Cache.Save(true)
5050
if err != nil {
51-
log.WithError(err).Warnf("Unable to save cache")
51+
log.WithError(err).Errorf("Unable to save cache")
5252
}
5353
} else {
5454
s, err := ctx.Settings.GetSelectedSSO(ctx.Cli.SSO)

storage/json_store.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ func OpenJsonStore(fileName string) (*JsonStore, error) {
4949

5050
cacheBytes, err := ioutil.ReadFile(fileName)
5151
if err != nil {
52-
log.Warnf("Creating new cache file: %s", fileName)
52+
log.Infof("Creating new cache file: %s", fileName)
5353
} else {
5454
err = json.Unmarshal(cacheBytes, &cache)
5555
}

0 commit comments

Comments
 (0)