mirror of
https://github.com/psviderski/uncloud.git
synced 2026-08-26 19:13:34 +00:00
chore: use short container ID for stop operation in deploy plan
This commit is contained in:
@@ -79,7 +79,7 @@ func (o *StopContainerOperation) Execute(ctx context.Context, cli Client) error
|
||||
func (o *StopContainerOperation) Format(resolver NameResolver) string {
|
||||
machineName := resolver.MachineName(o.MachineID)
|
||||
return fmt.Sprintf("%s: Stop container [id=%s name=%s]", machineName,
|
||||
o.ContainerID, resolver.ContainerName(o.ContainerID))
|
||||
o.ContainerID[:12], resolver.ContainerName(o.ContainerID))
|
||||
}
|
||||
|
||||
func (o *StopContainerOperation) String() string {
|
||||
|
||||
Reference in New Issue
Block a user