We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c295b90 commit f51fa2aCopy full SHA for f51fa2a
pkg/utils/locking.go
@@ -159,7 +159,7 @@ func GetLock() (Lock, error) {
159
160
bucketName := strings.ToLower(os.Getenv("GOOGLE_STORAGE_BUCKET"))
161
if bucketName == "" {
162
- bucketName = "digger-lock"
+ return nil, errors.New("GOOGLE_STORAGE_BUCKET is not set")
163
}
164
bucket := client.Bucket(bucketName)
165
lock := gcp.GoogleStorageLock{Client: client, Bucket: bucket, Context: ctx}
0 commit comments