Skip to content

Commit ef1deb8

Browse files
author
Zhou Peng
committed
[kubectl/pkg/cmd/rollout]: fix typo & tidy imports
Signed-off-by: Zhou Peng <[email protected]>
1 parent 4e8b56e commit ef1deb8

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

staging/src/k8s.io/kubectl/pkg/cmd/rollout/rollout.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ package rollout
1919
import (
2020
"github.com/lithammer/dedent"
2121
"github.com/spf13/cobra"
22+
2223
"k8s.io/cli-runtime/pkg/genericclioptions"
2324
cmdutil "k8s.io/kubectl/pkg/cmd/util"
2425
"k8s.io/kubectl/pkg/util/i18n"

staging/src/k8s.io/kubectl/pkg/cmd/rollout/rollout_undo.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@ import (
2020
"fmt"
2121

2222
"github.com/spf13/cobra"
23-
"k8s.io/kubectl/pkg/polymorphichelpers"
2423

2524
"k8s.io/cli-runtime/pkg/genericclioptions"
2625
"k8s.io/cli-runtime/pkg/printers"
2726
"k8s.io/cli-runtime/pkg/resource"
2827
cmdutil "k8s.io/kubectl/pkg/cmd/util"
28+
"k8s.io/kubectl/pkg/polymorphichelpers"
2929
"k8s.io/kubectl/pkg/scheme"
3030
"k8s.io/kubectl/pkg/util/i18n"
3131
"k8s.io/kubectl/pkg/util/templates"
@@ -102,7 +102,7 @@ func NewCmdRolloutUndo(f cmdutil.Factory, streams genericclioptions.IOStreams) *
102102
return cmd
103103
}
104104

105-
// Complete completes al the required options
105+
// Complete completes all the required options
106106
func (o *UndoOptions) Complete(f cmdutil.Factory, cmd *cobra.Command, args []string) error {
107107
o.Resources = args
108108
var err error

0 commit comments

Comments
 (0)