From 10c605d02bdcab8976b5368c50352cfb76ae0a01 Mon Sep 17 00:00:00 2001 From: Danny Adams Date: Wed, 25 Jan 2023 06:33:44 -0500 Subject: [PATCH] Updates to /connector/onedrive package Package reverted back to msgraph-sdk-go. --- src/internal/connector/onedrive/collection.go | 2 +- src/internal/connector/onedrive/collection_test.go | 4 ++-- src/internal/connector/onedrive/collections.go | 2 +- src/internal/connector/onedrive/collections_test.go | 2 +- src/internal/connector/onedrive/drive.go | 10 +++++----- src/internal/connector/onedrive/item.go | 4 ++-- src/internal/connector/onedrive/item_test.go | 4 ++-- src/internal/connector/onedrive/service_test.go | 2 +- 8 files changed, 15 insertions(+), 15 deletions(-) diff --git a/src/internal/connector/onedrive/collection.go b/src/internal/connector/onedrive/collection.go index 438ffc835..4ea9ea9eb 100644 --- a/src/internal/connector/onedrive/collection.go +++ b/src/internal/connector/onedrive/collection.go @@ -8,7 +8,7 @@ import ( "sync/atomic" "time" - "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + "github.com/microsoftgraph/msgraph-sdk-go/models" "github.com/spatialcurrent/go-lazy/pkg/lazy" "github.com/alcionai/corso/src/internal/connector/graph" diff --git a/src/internal/connector/onedrive/collection_test.go b/src/internal/connector/onedrive/collection_test.go index 4e8876a92..a19021ff7 100644 --- a/src/internal/connector/onedrive/collection_test.go +++ b/src/internal/connector/onedrive/collection_test.go @@ -9,8 +9,8 @@ import ( "testing" "time" - msgraphsdk "github.com/microsoftgraph/msgraph-beta-sdk-go" - "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + msgraphsdk "github.com/microsoftgraph/msgraph-sdk-go" + "github.com/microsoftgraph/msgraph-sdk-go/models" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" "github.com/stretchr/testify/suite" diff --git a/src/internal/connector/onedrive/collections.go b/src/internal/connector/onedrive/collections.go index f9485e16b..90734c43a 100644 --- a/src/internal/connector/onedrive/collections.go +++ b/src/internal/connector/onedrive/collections.go @@ -5,7 +5,7 @@ import ( "fmt" "strings" - "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + "github.com/microsoftgraph/msgraph-sdk-go/models" "github.com/pkg/errors" "github.com/alcionai/corso/src/internal/connector/graph" diff --git a/src/internal/connector/onedrive/collections_test.go b/src/internal/connector/onedrive/collections_test.go index 857c2dbda..b9c313883 100644 --- a/src/internal/connector/onedrive/collections_test.go +++ b/src/internal/connector/onedrive/collections_test.go @@ -4,7 +4,7 @@ import ( "strings" "testing" - "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + "github.com/microsoftgraph/msgraph-sdk-go/models" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" "github.com/stretchr/testify/suite" diff --git a/src/internal/connector/onedrive/drive.go b/src/internal/connector/onedrive/drive.go index 937e739af..17ee6f96d 100644 --- a/src/internal/connector/onedrive/drive.go +++ b/src/internal/connector/onedrive/drive.go @@ -6,12 +6,12 @@ import ( "strings" "time" - msdrive "github.com/microsoftgraph/msgraph-beta-sdk-go/drive" - msdrives "github.com/microsoftgraph/msgraph-beta-sdk-go/drives" - "github.com/microsoftgraph/msgraph-beta-sdk-go/models" - "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" - "github.com/microsoftgraph/msgraph-beta-sdk-go/sites" msgraphgocore "github.com/microsoftgraph/msgraph-sdk-go-core" + msdrive "github.com/microsoftgraph/msgraph-sdk-go/drive" + msdrives "github.com/microsoftgraph/msgraph-sdk-go/drives" + "github.com/microsoftgraph/msgraph-sdk-go/models" + "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" + "github.com/microsoftgraph/msgraph-sdk-go/sites" "github.com/pkg/errors" "golang.org/x/exp/maps" diff --git a/src/internal/connector/onedrive/item.go b/src/internal/connector/onedrive/item.go index f936de4a1..73391033b 100644 --- a/src/internal/connector/onedrive/item.go +++ b/src/internal/connector/onedrive/item.go @@ -6,8 +6,8 @@ import ( "io" "strings" - msdrives "github.com/microsoftgraph/msgraph-beta-sdk-go/drives" - "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + msdrives "github.com/microsoftgraph/msgraph-sdk-go/drives" + "github.com/microsoftgraph/msgraph-sdk-go/models" "github.com/pkg/errors" "github.com/alcionai/corso/src/internal/connector/graph" diff --git a/src/internal/connector/onedrive/item_test.go b/src/internal/connector/onedrive/item_test.go index 29a25b5c8..f53607328 100644 --- a/src/internal/connector/onedrive/item_test.go +++ b/src/internal/connector/onedrive/item_test.go @@ -6,8 +6,8 @@ import ( "io" "testing" - msgraphsdk "github.com/microsoftgraph/msgraph-beta-sdk-go" - "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + msgraphsdk "github.com/microsoftgraph/msgraph-sdk-go" + "github.com/microsoftgraph/msgraph-sdk-go/models" "github.com/stretchr/testify/require" "github.com/stretchr/testify/suite" diff --git a/src/internal/connector/onedrive/service_test.go b/src/internal/connector/onedrive/service_test.go index dd9a9a6ff..00a791f1e 100644 --- a/src/internal/connector/onedrive/service_test.go +++ b/src/internal/connector/onedrive/service_test.go @@ -3,7 +3,7 @@ package onedrive import ( "testing" - msgraphsdk "github.com/microsoftgraph/msgraph-beta-sdk-go" + msgraphsdk "github.com/microsoftgraph/msgraph-sdk-go" "github.com/stretchr/testify/require" "github.com/alcionai/corso/src/internal/connector/graph"