address comments

This commit is contained in:
Shreyas Goenka 2024-12-02 16:27:23 +01:00
parent 8e25bb4a47
commit 8d790efcf9
No known key found for this signature in database
GPG Key ID: 92A07DF49CCB0622
1 changed files with 2 additions and 2 deletions

View File

@ -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...)