change var name : GCRCredPath -> GcpCredPath

This commit is contained in:
Tomoya AMACHI
2019-05-09 11:18:01 +09:00
parent 48a3ac53fb
commit d773f56aae
2 changed files with 3 additions and 3 deletions

View File

@@ -48,7 +48,7 @@ type DockerOption struct {
AuthURL string AuthURL string
UserName string UserName string
Password string Password string
GCRCredPath string GcpCredPath string
AwsAccessKey string AwsAccessKey string
AwsSecretKey string AwsSecretKey string
AwsRegion string AwsRegion string

View File

@@ -32,8 +32,8 @@ func (g *GCR) CheckOptions(domain string, d docker.DockerOption) error {
} }
g.Auth = types.AuthConfig{} g.Auth = types.AuthConfig{}
if d.GCRCredPath != "" { if d.GcpCredPath != "" {
g.Store = store.NewGCRCredStore(d.GCRCredPath) g.Store = store.NewGCRCredStore(d.GcpCredPath)
} }
return nil return nil
} }