diff --git a/pkg/compose/create.go b/pkg/compose/create.go index 04c887a7e..5ff84f395 100644 --- a/pkg/compose/create.go +++ b/pkg/compose/create.go @@ -1623,7 +1623,7 @@ func (s *composeService) removeDivergedVolume(ctx context.Context, name string, } func (s *composeService) createVolume(ctx context.Context, volume types.VolumeConfig) error { - eventName := fmt.Sprintf("Volume %q", volume.Name) + eventName := fmt.Sprintf("Volume %s", volume.Name) w := progress.ContextWriter(ctx) w.Event(progress.CreatingEvent(eventName)) hash, err := VolumeHash(volume) diff --git a/pkg/e2e/up_test.go b/pkg/e2e/up_test.go index 0d3e3db0c..395a16337 100644 --- a/pkg/e2e/up_test.go +++ b/pkg/e2e/up_test.go @@ -175,7 +175,7 @@ func TestUpWithAllResources(t *testing.T) { }) res := c.RunDockerComposeCmd(t, "-f", "./fixtures/resources/compose.yaml", "--all-resources", "--project-name", projectName, "up") - assert.Assert(t, strings.Contains(res.Combined(), fmt.Sprintf(`Volume "%s_my_vol" Created`, projectName)), res.Combined()) + assert.Assert(t, strings.Contains(res.Combined(), fmt.Sprintf(`Volume %s_my_vol Created`, projectName)), res.Combined()) assert.Assert(t, strings.Contains(res.Combined(), fmt.Sprintf(`Network %s_my_net Created`, projectName)), res.Combined()) }