Skip to content

Commit 990d477

Browse files
committed
fix(conf): nil config error
1 parent fa977dc commit 990d477

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
SHORT_NAME ?= builder
2+
DRYCC_REGISTRY ?= ${DEV_REGISTRY}
23

34
include versioning.mk
4-
DRYCC_REGISTRY ?= ${DEV_REGISTRY}
55

66
# container development environment variables
77
REPO_PATH := github.com/drycc/${SHORT_NAME}

pkg/conf/config.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,8 @@ func GetStorageParams(env sys.Env) (Parameters, error) {
5252
params["accesskey"] = env.Get(storageAccesskeyEnvVar)
5353
params["secretkey"] = env.Get(storageSecretkeyEnvVar)
5454
params["bucket"] = env.Get(storageBucketEnvVar)
55-
if env.Get(storagePathStyleEnvVar) == "on" {
55+
if env.Get(storagePathStyleEnvVar) == "true" {
5656
params["forcepathstyle"] = "true"
5757
}
58-
5958
return params, nil
6059
}

0 commit comments

Comments
 (0)