Skip to content

Commit b28dae7

Browse files
committed
change hard validation to soft validation
1 parent 9530538 commit b28dae7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docker.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,10 +172,10 @@ func (p Plugin) Exec() error {
172172

173173
if p.BaseImageRegistry != "" {
174174
if p.BaseImageUsername == "" {
175-
return fmt.Errorf("Username cannot be empty. The base image connector requires authenticated access. Please either use an authenticated connector, or remove the base image connector.")
175+
fmt.Printf("Username cannot be empty. The base image connector requires authenticated access. Please either use an authenticated connector, or remove the base image connector.")
176176
}
177177
if p.BaseImagePassword == "" {
178-
return fmt.Errorf("Password cannot be empty. The base image connector requires authenticated access. Please either use an authenticated connector, or remove the base image connector.")
178+
fmt.Printf("Password cannot be empty. The base image connector requires authenticated access. Please either use an authenticated connector, or remove the base image connector.")
179179
}
180180
var baseConnectorLogin Login
181181
baseConnectorLogin.Registry = p.BaseImageRegistry

0 commit comments

Comments
 (0)