From 8d790efcf9e04140d7492a971bbffc376238072c Mon Sep 17 00:00:00 2001 From: Shreyas Goenka Date: Mon, 2 Dec 2024 16:27:23 +0100 Subject: [PATCH] address comments --- bundle/libraries/filer_volume.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bundle/libraries/filer_volume.go b/bundle/libraries/filer_volume.go index 962a6f62..aecf68db 100644 --- a/bundle/libraries/filer_volume.go +++ b/bundle/libraries/filer_volume.go @@ -87,7 +87,7 @@ func filerForVolume(ctx context.Context, b *bundle.Bundle) (filer.Filer, string, } if errors.Is(err, apierr.ErrNotFound) { - // Since the API returned a 404, the volume does not exist in the workspace. + // Since the API returned a 404, the volume does not exist. // Modify the error message to provide more context. baseErr.Summary = fmt.Sprintf("volume %s does not exist: %s", volumePath, err) @@ -99,7 +99,7 @@ func filerForVolume(ctx context.Context, b *bundle.Bundle) (filer.Filer, string, } baseErr.Detail = `You are using a volume in your artifact_path that is managed by this bundle but which has not been deployed yet. Please first deploy -the UC volume using 'bundle deploy' and then switch over to using it in +the volume using 'bundle deploy' and then switch over to using it in the artifact_path.` baseErr.Paths = append(baseErr.Paths, path) baseErr.Locations = append(baseErr.Locations, locations...)