diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 555e839..9b03d85 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -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: diff --git a/CHANGELOG.md b/CHANGELOG.md index 4ae5ba2..062055f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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. diff --git a/dashboard.go b/dashboard.go index b2a9db3..b6897b2 100644 --- a/dashboard.go +++ b/dashboard.go @@ -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", @@ -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 { diff --git a/go.mod b/go.mod index 3837b31..a97688c 100644 --- a/go.mod +++ b/go.mod @@ -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 diff --git a/version b/version index 7ec1d6d..7c32728 100644 --- a/version +++ b/version @@ -1 +1 @@ -2.1.0 +2.1.1 \ No newline at end of file