Skip to content

Commit

Permalink
Fix more references to the v2 path changes.
Browse files Browse the repository at this point in the history
Signed-off-by: Brendan Winter <[email protected]>
  • Loading branch information
bwinter committed Jul 26, 2023
1 parent bb1fc0b commit 84603c1
Show file tree
Hide file tree
Showing 15 changed files with 16 additions and 16 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import (
"log"
"os"

wavefront "github.com/WavefrontHQ/go-wavefront-management-api"
wavefront "github.com/WavefrontHQ/go-wavefront-management-api/v2"
)

func main() {
Expand Down Expand Up @@ -61,7 +61,7 @@ import (
"log"
"os"

wavefront "github.com/WavefrontHQ/go-wavefront-management-api/writer"
wavefront "github.com/WavefrontHQ/go-wavefront-management-api/v2/writer"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion alerts_example_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package wavefront_test

import (
"fmt"
"github.com/WavefrontHQ/go-wavefront-management-api"
"github.com/WavefrontHQ/go-wavefront-management-api/v2"
"io/ioutil"
"log"
)
Expand Down
2 changes: 1 addition & 1 deletion cloud_integrations_example_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package wavefront_test
import (
"log"

"github.com/WavefrontHQ/go-wavefront-management-api"
"github.com/WavefrontHQ/go-wavefront-management-api/v2"
)

func ExampleCloudIntegrations() {
Expand Down
2 changes: 1 addition & 1 deletion dashboards_example_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
"log"

"github.com/WavefrontHQ/go-wavefront-management-api"
"github.com/WavefrontHQ/go-wavefront-management-api/v2"
)

func ExampleDashboards() {
Expand Down
2 changes: 1 addition & 1 deletion derivedmetrics_example_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"log"
"time"

"github.com/WavefrontHQ/go-wavefront-management-api"
"github.com/WavefrontHQ/go-wavefront-management-api/v2"
)

func ExampleDerivedMetrics() {
Expand Down
2 changes: 1 addition & 1 deletion events_example_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"log"
"time"

"github.com/WavefrontHQ/go-wavefront-management-api"
"github.com/WavefrontHQ/go-wavefront-management-api/v2"
)

func ExampleEvents() {
Expand Down
2 changes: 1 addition & 1 deletion externallinks_example_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"log"
"time"

"github.com/WavefrontHQ/go-wavefront-management-api"
"github.com/WavefrontHQ/go-wavefront-management-api/v2"
)

func ExampleExternalLinks() {
Expand Down
2 changes: 1 addition & 1 deletion ingestionpolicies_example_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"log"
"time"

"github.com/WavefrontHQ/go-wavefront-management-api"
"github.com/WavefrontHQ/go-wavefront-management-api/v2"
)

func ExampleIngestionPolicies() {
Expand Down
2 changes: 1 addition & 1 deletion query_example_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"io/ioutil"
"log"

"github.com/WavefrontHQ/go-wavefront-management-api"
"github.com/WavefrontHQ/go-wavefront-management-api/v2"
)

func ExampleQuery() {
Expand Down
2 changes: 1 addition & 1 deletion roles_example_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package wavefront_test
import (
"log"

"github.com/WavefrontHQ/go-wavefront-management-api"
"github.com/WavefrontHQ/go-wavefront-management-api/v2"
)

func ExampleRoles() {
Expand Down
2 changes: 1 addition & 1 deletion serviceaccount_example_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"log"
"time"

"github.com/WavefrontHQ/go-wavefront-management-api"
"github.com/WavefrontHQ/go-wavefront-management-api/v2"
)

func ExampleServiceAccounts() {
Expand Down
2 changes: 1 addition & 1 deletion targets_example_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"io/ioutil"
"log"

"github.com/WavefrontHQ/go-wavefront-management-api"
"github.com/WavefrontHQ/go-wavefront-management-api/v2"
)

func ExampleTargets() {
Expand Down
2 changes: 1 addition & 1 deletion usergroups_example_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"log"
"time"

"github.com/WavefrontHQ/go-wavefront-management-api"
"github.com/WavefrontHQ/go-wavefront-management-api/v2"
)

func ExampleUserGroups() {
Expand Down
2 changes: 1 addition & 1 deletion users_example_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"log"
"time"

"github.com/WavefrontHQ/go-wavefront-management-api"
"github.com/WavefrontHQ/go-wavefront-management-api/v2"
)

func ExampleUsers() {
Expand Down
2 changes: 1 addition & 1 deletion writer/writer_example_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"os"
"time"

wavefront "github.com/WavefrontHQ/go-wavefront-management-api/writer"
wavefront "github.com/WavefrontHQ/go-wavefront-management-api/v2/writer"
)

func ExampleWriter() {
Expand Down

0 comments on commit 84603c1

Please sign in to comment.