diff --git a/pkg/cmd/gist/create/create.go b/pkg/cmd/gist/create/create.go index 2bfedf684..76cdd1463 100644 --- a/pkg/cmd/gist/create/create.go +++ b/pkg/cmd/gist/create/create.go @@ -70,9 +70,6 @@ func NewCmdCreate(f *cmdutil.Factory, runF func(*CreateOptions) error) *cobra.Co return nil }, RunE: func(c *cobra.Command, args []string) error { - // TODO redundant? - opts.HttpClient = f.HttpClient - opts.Filenames = args if runF != nil {