Skip to content

Commit

Permalink
fix: allow default ns (#3678)
Browse files Browse the repository at this point in the history
  • Loading branch information
pmuir authored and jenkins-x-bot committed Apr 18, 2019
1 parent edf26b8 commit 07d0d09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/jx/cmd/delete_app.go
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ func (o *DeleteAppOptions) Run() error {
if o.ReleaseName != "" {
return util.InvalidOptionf(optionRelease, o.ReleaseName, msg, optionRelease)
}
if o.Namespace != "" {
if o.Namespace != "" && o.Namespace != "jx" {
return util.InvalidOptionf(optionNamespace, o.Namespace, msg, optionNamespace)
}
gitProvider, _, err := o.CreateGitProviderForURLWithoutKind(o.DevEnv.Spec.Source.URL)
Expand Down

0 comments on commit 07d0d09

Please sign in to comment.