mirror of https://github.com/databricks/cli.git
lowercase volumes
This commit is contained in:
parent
07f888c436
commit
7d544f4af4
|
@ -96,7 +96,7 @@ properties such as the 'catalog' or 'storage' are changed:`
|
||||||
// One or more volumes is being recreated.
|
// One or more volumes is being recreated.
|
||||||
if len(volumeActions) != 0 {
|
if len(volumeActions) != 0 {
|
||||||
msg := `
|
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
|
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
|
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:`
|
is removed from the catalog, but the underlying files are not deleted:`
|
||||||
|
|
|
@ -284,7 +284,7 @@ func TestAccDeployUcVolume(t *testing.T) {
|
||||||
t.Setenv("BUNDLE_ROOT", bundleRoot)
|
t.Setenv("BUNDLE_ROOT", bundleRoot)
|
||||||
stdout, stderr, err := internal.NewCobraTestRunnerWithContext(t, ctx, "bundle", "deploy", "--var=schema_name=${resources.schemas.schema2.name}").Run()
|
stdout, stderr, err := internal.NewCobraTestRunnerWithContext(t, ctx, "bundle", "deploy", "--var=schema_name=${resources.schemas.schema2.name}").Run()
|
||||||
assert.Error(t, err)
|
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
|
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
|
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:
|
is removed from the catalog, but the underlying files are not deleted:
|
||||||
|
|
Loading…
Reference in New Issue