From 7d544f4af4c11b8f9f4ced487477d17b694b3b57 Mon Sep 17 00:00:00 2001 From: Shreyas Goenka Date: Mon, 2 Dec 2024 11:46:55 +0100 Subject: [PATCH] lowercase volumes --- bundle/phases/deploy.go | 2 +- internal/bundle/deploy_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bundle/phases/deploy.go b/bundle/phases/deploy.go index f5fe42b0..2dc9623b 100644 --- a/bundle/phases/deploy.go +++ b/bundle/phases/deploy.go @@ -96,7 +96,7 @@ properties such as the 'catalog' or 'storage' are changed:` // One or more volumes is being recreated. if len(volumeActions) != 0 { msg := ` -This action will result in the deletion or recreation of the following Volumes. +This action will result in the deletion or recreation of the following volumes. For managed volumes, the files stored in the volume are also deleted from your cloud tenant within 30 days. For external volumes, the metadata about the volume is removed from the catalog, but the underlying files are not deleted:` diff --git a/internal/bundle/deploy_test.go b/internal/bundle/deploy_test.go index 0ddc79f3..759e85de 100644 --- a/internal/bundle/deploy_test.go +++ b/internal/bundle/deploy_test.go @@ -284,7 +284,7 @@ func TestAccDeployUcVolume(t *testing.T) { t.Setenv("BUNDLE_ROOT", bundleRoot) stdout, stderr, err := internal.NewCobraTestRunnerWithContext(t, ctx, "bundle", "deploy", "--var=schema_name=${resources.schemas.schema2.name}").Run() assert.Error(t, err) - assert.Contains(t, stderr.String(), `This action will result in the deletion or recreation of the following Volumes. + assert.Contains(t, stderr.String(), `This action will result in the deletion or recreation of the following volumes. For managed volumes, the files stored in the volume are also deleted from your cloud tenant within 30 days. For external volumes, the metadata about the volume is removed from the catalog, but the underlying files are not deleted: