Skip to content

Commit d773f56

Browse files
committed
change var name : GCRCredPath -> GcpCredPath
1 parent 48a3ac5 commit d773f56

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

extractor/docker/docker.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ type DockerOption struct {
4848
AuthURL string
4949
UserName string
5050
Password string
51-
GCRCredPath string
51+
GcpCredPath string
5252
AwsAccessKey string
5353
AwsSecretKey string
5454
AwsRegion string

extractor/docker/token/gcr/gcr.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ func (g *GCR) CheckOptions(domain string, d docker.DockerOption) error {
3232
}
3333

3434
g.Auth = types.AuthConfig{}
35-
if d.GCRCredPath != "" {
36-
g.Store = store.NewGCRCredStore(d.GCRCredPath)
35+
if d.GcpCredPath != "" {
36+
g.Store = store.NewGCRCredStore(d.GcpCredPath)
3737
}
3838
return nil
3939
}

0 commit comments

Comments
 (0)