Skip to content

Commit

Permalink
fix: remove useless line (#569)
Browse files Browse the repository at this point in the history
  • Loading branch information
yipeng1030 authored Feb 19, 2025
1 parent ec82906 commit 98f0be6
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion pkg/cmd/cluster/create_subcmds.go
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,6 @@ func (o *CreateSubCmdsOptions) getObjectsInfo() ([]*objectInfo, error) {

func (o *CreateSubCmdsOptions) getClusterObj(objs []*objectInfo) (*unstructured.Unstructured, error) {
for _, obj := range objs {
fmt.Println(obj.gvr.String())
if obj.gvr == types.ClusterGVR() {
return obj.obj, nil
}
Expand Down

0 comments on commit 98f0be6

Please sign in to comment.