Skip to content

Commit 3ac5992

Browse files
committed
chore: use short container ID for stop operation in deploy plan
1 parent 8c4f21f commit 3ac5992

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/client/deploy/operation.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ func (o *StopContainerOperation) Execute(ctx context.Context, cli Client) error
7979
func (o *StopContainerOperation) Format(resolver NameResolver) string {
8080
machineName := resolver.MachineName(o.MachineID)
8181
return fmt.Sprintf("%s: Stop container [id=%s name=%s]", machineName,
82-
o.ContainerID, resolver.ContainerName(o.ContainerID))
82+
o.ContainerID[:12], resolver.ContainerName(o.ContainerID))
8383
}
8484

8585
func (o *StopContainerOperation) String() string {

0 commit comments

Comments
 (0)