From c2bdb01952751bb73dc1c1ebe3d98a19b733a532 Mon Sep 17 00:00:00 2001 From: Noah Hilverling Date: Fri, 22 Mar 2019 11:53:39 +0100 Subject: [PATCH] Fix env_id JSON tags --- configobject/host/host.go | 2 +- configobject/service/service.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/configobject/host/host.go b/configobject/host/host.go index 9469569f..5b707eeb 100644 --- a/configobject/host/host.go +++ b/configobject/host/host.go @@ -57,7 +57,7 @@ var ( type Host struct { Id string `json:"id"` - EnvId string `json:"env_id"` + EnvId string `json:"environment_id"` NameChecksum string `json:"name_checksum"` PropertiesChecksum string `json:"properties_checksum"` CustomvarsChecksum string `json:"customvars_checksum"` diff --git a/configobject/service/service.go b/configobject/service/service.go index 25839d7c..967d87dc 100644 --- a/configobject/service/service.go +++ b/configobject/service/service.go @@ -54,7 +54,7 @@ var ( type Service struct { Id string `json:"id"` - EnvId string `json:"env_id"` + EnvId string `json:"environment_id"` NameChecksum string `json:"name_checksum"` PropertiesChecksum string `json:"properties_checksum"` CustomvarsChecksum string `json:"customvars_checksum"`