diff --git a/go.mod b/go.mod index 94d43b09..d04cf17c 100644 --- a/go.mod +++ b/go.mod @@ -3,7 +3,7 @@ module github.com/OctopusDeploy/terraform-provider-octopusdeploy go 1.21 require ( - github.com/OctopusDeploy/go-octopusdeploy/v2 v2.53.0 + github.com/OctopusDeploy/go-octopusdeploy/v2 v2.53.1 github.com/OctopusSolutionsEngineering/OctopusTerraformTestFramework v0.0.0-20240729041805-46db6fb717b4 github.com/google/uuid v1.6.0 github.com/hashicorp/go-cty v1.4.1-0.20200723130312-85980079f637 diff --git a/go.sum b/go.sum index 04f1ae36..178816a3 100644 --- a/go.sum +++ b/go.sum @@ -20,8 +20,8 @@ github.com/Microsoft/hcsshim v0.12.4 h1:Ev7YUMHAHoWNm+aDSPzc5W9s6E2jyL1szpVDJeZ/ github.com/Microsoft/hcsshim v0.12.4/go.mod h1:Iyl1WVpZzr+UkzjekHZbV8o5Z9ZkxNGx6CtY2Qg/JVQ= github.com/OctopusDeploy/go-octodiff v1.0.0 h1:U+ORg6azniwwYo+O44giOw6TiD5USk8S4VDhOQ0Ven0= github.com/OctopusDeploy/go-octodiff v1.0.0/go.mod h1:Mze0+EkOWTgTmi8++fyUc6r0aLZT7qD9gX+31t8MmIU= -github.com/OctopusDeploy/go-octopusdeploy/v2 v2.53.0 h1:ZATcfMDW8ilgb2xZ892SqUOtfqHjei0JkQGT68HvoII= -github.com/OctopusDeploy/go-octopusdeploy/v2 v2.53.0/go.mod h1:ggvOXzMnq+w0pLg6C9zdjz6YBaHfO3B3tqmmB7JQdaw= +github.com/OctopusDeploy/go-octopusdeploy/v2 v2.53.1 h1:9c5qKji5R/sFmjqVQ1Nxt+vKITsj42CCCs0bfqJvETc= +github.com/OctopusDeploy/go-octopusdeploy/v2 v2.53.1/go.mod h1:ggvOXzMnq+w0pLg6C9zdjz6YBaHfO3B3tqmmB7JQdaw= github.com/OctopusSolutionsEngineering/OctopusTerraformTestFramework v0.0.0-20240729041805-46db6fb717b4 h1:QfbVf0bOIRMp/WHAWsuVDB7KHoWnRsGbvDuOf2ua7k4= github.com/OctopusSolutionsEngineering/OctopusTerraformTestFramework v0.0.0-20240729041805-46db6fb717b4/go.mod h1:Oq9KbiRNDBB5jFmrwnrgLX0urIqR/1ptY18TzkqXm7M= github.com/ProtonMail/go-crypto v1.1.0-alpha.2 h1:bkyFVUP+ROOARdgCiJzNQo2V2kiB97LyUpzH9P6Hrlg= diff --git a/octopusdeploy_framework/resource_oci_registry_feed.go b/octopusdeploy_framework/resource_oci_registry_feed.go index 0b1320a1..47edca61 100644 --- a/octopusdeploy_framework/resource_oci_registry_feed.go +++ b/octopusdeploy_framework/resource_oci_registry_feed.go @@ -111,7 +111,7 @@ func (r *ociRegistryFeedTypeResource) Update(ctx context.Context, req resource.U client := r.Config.Client updatedFeed, err := feeds.Update(client, feed) if err != nil { - resp.Diagnostics.AddError("unable to update maven feed", err.Error()) + resp.Diagnostics.AddError("unable to update OCI Registry feed", err.Error()) return } diff --git a/octopusdeploy_framework/resource_oci_registry_feed_test.go b/octopusdeploy_framework/resource_oci_registry_feed_test.go index 8561cea3..657630c5 100644 --- a/octopusdeploy_framework/resource_oci_registry_feed_test.go +++ b/octopusdeploy_framework/resource_oci_registry_feed_test.go @@ -71,6 +71,9 @@ func testOCIRegistryFeedBasic(data ociRegistryFeedTestData, localName string) st func testOCIRegistryFeedBasicUpdate(data ociRegistryFeedTestData, localName string) string { data.name = data.name + "-updated" + data.uri = "oci://integration-test-registry-updated.docker.io" + data.username = data.username + "-changed" + data.password = data.password + "-generated" return testOCIRegistryFeedBasic(data, localName) }