commit | 07a6ca306f2e36b78b691584c01ceb0c756a61d9 | [log] [tgz] |
---|---|---|
author | Haoming Zhang <zhm1993zhm@gmail.com> | Thu Dec 07 15:04:40 2017 -0800 |
committer | Haoming Zhang <zhm1993zhm@gmail.com> | Thu Dec 07 15:04:40 2017 -0800 |
tree | ac62b9c42e007d3d6e3e5e1d1f1acb5fb2a7e2cc | |
parent | 3e33d59b4ca497f9e7db2f8c28d2a8ae2782ad30 [diff] |
do not omit empty Attribute fields, required by Adi
diff --git a/common/data_structs.go b/common/data_structs.go index 77c0911..9063d4d 100644 --- a/common/data_structs.go +++ b/common/data_structs.go
@@ -14,9 +14,8 @@ package common type Attribute struct { - Name string `json:"name,omitempty"` - Value string `json:"value,omitempty"` - Kind string `json:"kind,omitempty"` + Name string `json:"name"` + Value string `json:"value"` } type ErrorResponse struct {