From 23fb14f76adc8f4a6690887aaff8a17bce466768 Mon Sep 17 00:00:00 2001 From: Michael Riley Date: Wed, 14 Feb 2024 23:53:21 -0500 Subject: [PATCH] Remove unused validate on (#403) --- cmd/plans/plans.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/cmd/plans/plans.go b/cmd/plans/plans.go index 4297d7a1..588a0818 100644 --- a/cmd/plans/plans.go +++ b/cmd/plans/plans.go @@ -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