Skip to content

Commit

Permalink
fix: kubectl argo create panic: runtime error: invalid memory address…
Browse files Browse the repository at this point in the history
… or nil pointer dereference

Signed-off-by: zhaozhiqiang <[email protected]>
  • Loading branch information
zhaoyun006 authored Jan 8, 2021
1 parent 1c93ebc commit 6c98efd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/kubectl-argo-rollouts/cmd/create/create.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ const (

// NewCmdCreate returns a new instance of an `rollouts create` command
func NewCmdCreate(o *options.ArgoRolloutsOptions) *cobra.Command {
o.DynamicClientset()
createOptions := CreateOptions{
ArgoRolloutsOptions: *o,
}
Expand Down

0 comments on commit 6c98efd

Please sign in to comment.