From ca61c1eddcc5fb1a5a2a7a08d800a46027949dcd Mon Sep 17 00:00:00 2001 From: Arthur Lu Date: Sun, 19 Apr 2026 00:19:58 +0000 Subject: [PATCH] fix const declaration issue --- resource-types.go | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/resource-types.go b/resource-types.go index 0b6e7f8..3499d7e 100644 --- a/resource-types.go +++ b/resource-types.go @@ -17,10 +17,8 @@ type Node struct { type InstanceID uint64 type InstanceType string -const ( - VM InstanceType = "VM" - CT InstanceType = "CT" -) +const VM InstanceType = "VM" +const CT InstanceType = "CT" type Instance struct { Type InstanceType `json:"type"`