Skip to content

Commit 3a34275

Browse files
committed
chore: improve output for pull secret creation
1 parent b531493 commit 3a34275

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

pkg/devspace/pullsecrets/init.go

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,13 @@ func (r *client) createPullSecret(ctx devspacecontext.Context, dockerClient dock
199199
if err != nil {
200200
return err
201201
}
202+
} else {
203+
if username == "" {
204+
ctx.Log().Warnf("Couldn't retrieve username for registry %s from docker store", pullSecret.Registry)
205+
}
206+
if password == "" {
207+
ctx.Log().Warnf("Couldn't retrieve password for registry %s from docker store", pullSecret.Registry)
208+
}
202209
}
203210

204211
return nil

0 commit comments

Comments
 (0)