Skip to content

Commit 300ca0f

Browse files
mcalhouncoderabbitai[bot]autofix-ci[bot]
authored
fix typo in Redis store error message (cloudposse#1022)
* allow user to specify default value when using store * Update internal/exec/yaml_func_store_test.go Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> * allow user to specify default value when using store * fix typo in Redis store error message --------- Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
1 parent 92f70c1 commit 300ca0f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/store/redis_store.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ func getRedisOptions(options *RedisStoreOptions) (*redis.Options, error) {
4747
return redis.ParseURL(os.Getenv("ATMOS_REDIS_URL"))
4848
}
4949

50-
return &redis.Options{}, fmt.Errorf("either url must be set in options or REDIS_URL environment variable must be set")
50+
return &redis.Options{}, fmt.Errorf("either url must be set in options or ATMOS_REDIS_URL environment variable must be set")
5151
}
5252

5353
func NewRedisStore(options RedisStoreOptions) (Store, error) {

0 commit comments

Comments
 (0)