From 66913c7dcea48ce7f589f1968acaf52e8c327beb Mon Sep 17 00:00:00 2001 From: Sander Blue Date: Thu, 13 Jun 2024 10:22:45 -0500 Subject: [PATCH] chore(entities): generate EntityAlertViolationInt as int instead of scalar string --- .tutone.yml | 2 ++ pkg/entities/types.go | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.tutone.yml b/.tutone.yml index a27a44419..1a8fb27da 100644 --- a/.tutone.yml +++ b/.tutone.yml @@ -811,6 +811,8 @@ packages: generate_struct_getters: true - name: WorkloadEntityOutline generate_struct_getters: true + - name: EntityAlertViolationInt + create_as: int # # Types that our other packages define diff --git a/pkg/entities/types.go b/pkg/entities/types.go index 8c349b571..1684ae47f 100644 --- a/pkg/entities/types.go +++ b/pkg/entities/types.go @@ -11313,7 +11313,7 @@ type AttributeMap map[string]interface{} type DashboardWidgetRawConfiguration []byte // EntityAlertViolationInt - The `ViolationInt` scalar type represents 52-bit signed integers -type EntityAlertViolationInt string +type EntityAlertViolationInt int // Float - The `Float` scalar type represents signed double-precision fractional // values as specified by