From 0bc0ba85c2f19f219ac446a1d23ad3488a0eb469 Mon Sep 17 00:00:00 2001 From: Joao Luna <7607329+cloud-j-luna@users.noreply.github.com> Date: Mon, 5 Dec 2022 14:20:54 +0000 Subject: [PATCH] Set LeaseIPStatus json tags to keep consistency --- gateway/rest/types.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/gateway/rest/types.go b/gateway/rest/types.go index 881fda7d..e2ee2958 100644 --- a/gateway/rest/types.go +++ b/gateway/rest/types.go @@ -5,10 +5,10 @@ import ( ) type LeasedIPStatus struct { - Port uint32 - ExternalPort uint32 - Protocol string - IP string + Port uint32 `json:"port"` + ExternalPort uint32 `json:"external_port"` + Protocol string `json:"protocol"` + IP string `json:"ip"` } type LeaseStatus struct {