Skip to content

Commit

Permalink
fix(datastore): fix warning message when using mock storage
Browse files Browse the repository at this point in the history
  • Loading branch information
Bernardstanislas committed Jun 23, 2024
1 parent 5f12ae9 commit 7212da8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/datastore/storage/common.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ func New(config config.Config) Storage {
case config.Datastore.Storage.S3.Bucket != "":
return Storage{Backend: s3.New(config.Datastore.Storage.S3)}
case config.Datastore.Storage.Mock:
log.Warn("Using mock storage backend - for testing only - no data will only be stored in memory and will be lost when the process exits")
log.Warn("Using mock storage backend - for testing only - data will only be stored in memory and will be lost when the process exits")
return Storage{Backend: mock.New()}
}
return Storage{}
Expand Down

0 comments on commit 7212da8

Please sign in to comment.