Skip to content

Commit

Permalink
Upgrade golang to 1.21.2
Browse files Browse the repository at this point in the history
Signed-off-by: Brendan Winter <bwinter@vmware.com>
  • Loading branch information
bwinter committed Oct 6, 2023
1 parent 0e6647d commit b5044d0
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
go: [ "1.18.x", "1.19.x", "1.20.x" ]
go: [ "1.19.x", "1.20.x", "1.21.x" ]
steps:
- uses: actions/checkout@v3
with:
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

Changelog for go-wavefront-management-api.

## [2.1.1]

- Upgrade GoLang to 1.21.2

## [2.1.0]

- Dashboard object to omit chart `summarization` field when empty.
Expand Down
4 changes: 2 additions & 2 deletions dashboard.go
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ func (d Dashboards) Delete(dashboard *Dashboard, skipTrash bool) error {
return nil
}

// Set Tags is used to set the tags on an existing dashboard
// SetTags Set Tags is used to set the tags on an existing dashboard
func (d Dashboards) SetTags(id string, tags []string) error {
return doRest(
"POST",
Expand All @@ -367,7 +367,7 @@ func (d Dashboards) SetTags(id string, tags []string) error {
doPayload(tags))
}

// Sets the ACL on the dashboard with the supplied list of IDs for canView and canModify
// SetACL Sets the ACL on the dashboard with the supplied list of IDs for canView and canModify
// an empty []string on canView will remove all values set
// an empty []string on canModify will set the value to the owner of the token issuing the API call
func (d Dashboards) SetACL(id string, canView, canModify []string) error {
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/WavefrontHQ/go-wavefront-management-api/v2

go 1.18
go 1.21

require github.com/stretchr/testify v1.7.5

Expand Down
2 changes: 1 addition & 1 deletion version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.1.0
2.1.1

0 comments on commit b5044d0

Please sign in to comment.