From cb1d90b840a7e8e87770f83935163636d66c65ed Mon Sep 17 00:00:00 2001 From: David Allen Date: Thu, 19 Jun 2025 16:53:43 -0600 Subject: [PATCH] refactor: added tags to power struct --- pkg/crawler/main.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkg/crawler/main.go b/pkg/crawler/main.go index 1f57b1e..fbd5e48 100644 --- a/pkg/crawler/main.go +++ b/pkg/crawler/main.go @@ -65,9 +65,9 @@ type Links struct { } type Power struct { - State string - Mode string - RestorePolicy string + State string `json:"state,omitempty"` + Mode string `json:"mode,omitempty"` + RestorePolicy string `json:"restore_policy"` } type InventoryDetail struct {