From d194dc144614f642a42cdab56e45bf82bcb342d7 Mon Sep 17 00:00:00 2001 From: Vikyath Harekal Date: Tue, 28 Jan 2025 05:06:52 +0000 Subject: [PATCH] feat: [CDE-585]: Add json tags for InstanceInfo (#3331) * feat: [CDE-585]: Add json tags for InstanceInfo --- types/infrastructure.go | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/types/infrastructure.go b/types/infrastructure.go index 64f28cfd5..cea65abc0 100644 --- a/types/infrastructure.go +++ b/types/infrastructure.go @@ -38,15 +38,16 @@ type PortMapping struct { } type InstanceInfo struct { - ID string - Name string - IPAddress string - Port int64 - OS string - Arch string - Provider string - PoolName string - Zone string + ID string `json:"id"` + Name string `json:"name"` + IPAddress string `json:"ip_address"` + Port int64 `json:"port"` + OS string `json:"os"` + Arch string `json:"arch"` + Provider string `json:"provider"` + PoolName string `json:"pool_name"` + Zone string `json:"zone"` + StorageIdentifier string `json:"storage_identifier"` } type Infrastructure struct {