Skip to content

Commit 49785a0

Browse files
committed
fix: we should skip also if dependency's namespace is empty, as if that's the case, we're going to default to devspace's namespace anyway
Signed-off-by: Luca Di Maio <[email protected]>
1 parent 3851249 commit 49785a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/devspace/pipeline/pipeline.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ func (p *pipeline) StartNewDependencies(ctx devspacecontext.Context, dependencie
260260
func ensureNamespace(ctx devspacecontext.Context, namespace string) error {
261261
// If localregistry namespace is the same as devspace, we don't have
262262
// anything to do.
263-
if namespace == ctx.KubeClient().Namespace() {
263+
if namespace == ctx.KubeClient().Namespace() || namespace == "" {
264264
ctx.Log().Debugf("Namespace %s is the default Devspace namespace", namespace)
265265
return nil
266266
}

0 commit comments

Comments
 (0)