From d507f3ccc234b17dc511c907699767a869ce0911 Mon Sep 17 00:00:00 2001 From: Andrew Burke Date: Thu, 29 Aug 2024 11:52:45 -0700 Subject: [PATCH] Fix NewStaticHostUser version --- api/types/userprovisioning/statichostuser.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/types/userprovisioning/statichostuser.go b/api/types/userprovisioning/statichostuser.go index b94c300f0e6b2..0755893c6d5f5 100644 --- a/api/types/userprovisioning/statichostuser.go +++ b/api/types/userprovisioning/statichostuser.go @@ -28,7 +28,7 @@ import ( func NewStaticHostUser(name string, spec *userprovisioningpb.StaticHostUserSpec) *userprovisioningpb.StaticHostUser { return &userprovisioningpb.StaticHostUser{ Kind: types.KindStaticHostUser, - Version: types.V1, + Version: types.V2, Metadata: &headerv1.Metadata{ Name: name, },