Skip to content

Commit

Permalink
Use correct reference while creating namespace (#90)
Browse files Browse the repository at this point in the history
Signed-off-by: Prasad Ghangal <[email protected]>
  • Loading branch information
PrasadG193 authored Jun 24, 2021
1 parent 5b07804 commit 7045599
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/apps/raw/raw.go
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ func (r *App) Install(ctx context.Context, name, namespace, version string, opti
return err
}

if err := kube.CreateNamespace(ctx, r.KubeCli, r.App.Namespace); err != nil && !k8sErrors.IsAlreadyExists(err) {
if err := kube.CreateNamespace(ctx, r.KubeCli, namespace); err != nil && !k8sErrors.IsAlreadyExists(err) {
return err
}

Expand Down

0 comments on commit 7045599

Please sign in to comment.