Skip to content

Commit

Permalink
Release 0.0.25
Browse files Browse the repository at this point in the history
The more relevant changes in the new version are the following:

- Add `operation_id` attribute to error objects and error messages.

Related: openshift-online/ocm-sdk-go#150
Signed-off-by: Juan Hernandez <jhernand@redhat.com>
  • Loading branch information
jhernand committed Feb 26, 2020
1 parent 5624f0c commit eb15ba2
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 1 deletion.
25 changes: 25 additions & 0 deletions CHANGES.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,31 @@
This document describes the relevant changes between releases of the
API metamodel.

== 0.0.26 Feb 26 2020

- Add `operation_id` attribute to error objects and error messages.
+
An error object like this:
+
[source,json]
----
{
"kind": "Error",
"id": "401",
"href": "/api/clusters_mgmt/v1/errors/401",
"code": "CLUSTERS-MGMT-401",
"reason": "My reason",
"operation_id": "456"
}
----
+
Will result in the following error string (in one single line):
+
....
identifier is '401', code is 'CLUSTERS-MGMT-401' and
operation identifier is '456': My reason
....

== 0.0.25 Feb 20 2020

- Run the `gofmt` command only once for all generated files instead of running
Expand Down
2 changes: 1 addition & 1 deletion pkg/info/info.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ limitations under the License.

package info

const Version = "0.0.25"
const Version = "0.0.26"

0 comments on commit eb15ba2

Please sign in to comment.