Skip to content
This repository has been archived by the owner on Aug 27, 2019. It is now read-only.

Commit

Permalink
Merge pull request #8 from jhernand/release_0_1_10
Browse files Browse the repository at this point in the history
Release 0.1.10
  • Loading branch information
jhernand authored May 3, 2019
2 parents cc05cd1 + cc00baa commit 92de2d5
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 7 deletions.
5 changes: 5 additions & 0 deletions CHANGES.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@
This document describes the relevant changes between releases of the
`uhc` command line tool.

== 0.1.10 May 3 2019

- Adapt to changes in the API and SDK that moved cluster basic metrics to a new
`metrics` attribute.

== 0.1.9 May 2 2019

- Added the `cluster` command.
Expand Down
6 changes: 3 additions & 3 deletions Gopkg.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Gopkg.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

[[constraint]]
name = "github.com/openshift-online/uhc-sdk-go"
version = "0.1.7"
version = "0.1.8"

[[constraint]]
name = "github.com/spf13/pflag"
Expand Down
4 changes: 2 additions & 2 deletions cmd/uhc/cluster/status/status.go
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,8 @@ func run(cmd *cobra.Command, argv []string) {
cluster := response.Body()

//Get data out of the response
clusterMemory := cluster.Memory()
clusterCPU := cluster.CPU()
clusterMemory := cluster.Metrics().Memory()
clusterCPU := cluster.Metrics().CPU()
memUsed := clusterMemory.Used().Value() / 1000000000
memTotal := clusterMemory.Total().Value() / 1000000000

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.1.9"
const Version = "0.1.10"

0 comments on commit 92de2d5

Please sign in to comment.