From 5db5ca0f31231d25a7e0bd30aa73aa01fc7b7f26 Mon Sep 17 00:00:00 2001 From: runzexia Date: Wed, 31 Jul 2019 21:13:45 +0800 Subject: [PATCH] fix internal issue #1131 Signed-off-by: runzexia --- pkg/models/devops/json.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/models/devops/json.go b/pkg/models/devops/json.go index 6822d5499..bebb6f49e 100644 --- a/pkg/models/devops/json.go +++ b/pkg/models/devops/json.go @@ -1112,7 +1112,7 @@ type Input struct { Self struct { Class string `json:"_class,omitempty"` Href string `json:"href,omitempty"` - } `json:"self"` + } `json:"self,omitempty"` } `json:"_links,omitempty" description:"references the reachable path to this resource"` ID string `json:"id,omitempty" description:"the id of check action"` Message string `json:"message,omitempty" description:"the message of check action"`