Skip to content

Commit

Permalink
Remove unused validate on (#403)
Browse files Browse the repository at this point in the history
  • Loading branch information
optik-aper authored Feb 15, 2024
1 parent 28d34d1 commit 23fb14f
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions cmd/plans/plans.go
Original file line number Diff line number Diff line change
Expand Up @@ -138,10 +138,6 @@ type options struct {
PlanType string
}

func (o *options) validate(cmd *cobra.Command, args []string) {
o.Base.Args = args
}

func (o *options) list() ([]govultr.Plan, *govultr.Meta, error) {
plans, meta, _, err := o.Base.Client.Plan.List(context.Background(), o.PlanType, o.Base.Options)
return plans, meta, err
Expand Down

0 comments on commit 23fb14f

Please sign in to comment.