From 44bd42ea5a47f51b8aefa6d4e58b8a36ffbfb460 Mon Sep 17 00:00:00 2001 From: Eric Bressler Date: Wed, 23 Dec 2020 09:11:41 -0500 Subject: [PATCH] fix json mapping for target_id for an IsiSnapshot fix json mapping for target_id for an IsiSnapshot. It should be `target_id` and not `target_it`. --- api/v1/api_v1_types.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/v1/api_v1_types.go b/api/v1/api_v1_types.go index d75b2b4..bbe9087 100644 --- a/api/v1/api_v1_types.go +++ b/api/v1/api_v1_types.go @@ -88,7 +88,7 @@ type IsiSnapshot struct { ShadowBytes int64 `json:"shadow_bytes"` Size int64 `json:"size"` State string `json:"state"` - TargetId int64 `json:"target_it"` + TargetId int64 `json:"target_id"` TargetName string `json:"target_name"` }