Skip to content

Commit 52eeda9

Browse files
committed
report external volume name not found
Signed-off-by: Nicolas De Loof <[email protected]>
1 parent 1f0cf07 commit 52eeda9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/compose/create.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1098,7 +1098,7 @@ func (s *composeService) ensureVolume(ctx context.Context, volume types.VolumeCo
10981098
return err
10991099
}
11001100
if volume.External.External {
1101-
return fmt.Errorf("external volume %q not found", volume.External.Name)
1101+
return fmt.Errorf("external volume %q not found", volume.Name)
11021102
}
11031103
err := s.createVolume(ctx, volume)
11041104
return err

0 commit comments

Comments
 (0)