From a96aeb50362cfe0a4244221e13fc84a7213082ea Mon Sep 17 00:00:00 2001 From: Michael Riley Date: Mon, 11 Mar 2024 15:41:33 -0400 Subject: [PATCH] Fix incorrect govultr delete method for VPC2 --- cmd/vpc2/vpc2.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/vpc2/vpc2.go b/cmd/vpc2/vpc2.go index 1d31ef5..6a75190 100644 --- a/cmd/vpc2/vpc2.go +++ b/cmd/vpc2/vpc2.go @@ -422,5 +422,5 @@ func (o *options) detachNodes() error { } func (o *options) del() error { - return o.Base.Client.VPC.Delete(o.Base.Context, o.Base.Args[0]) + return o.Base.Client.VPC2.Delete(o.Base.Context, o.Base.Args[0]) }