mirror of
https://github.com/psviderski/uncloud.git
synced 2026-08-28 03:53:33 +00:00
refactor: event ID generation for images, machines, and volumes to align with plan formatting
This commit is contained in:
@@ -131,7 +131,7 @@ func (cli *Client) createServiceContainerWithPull(
|
||||
|
||||
func (cli *Client) pullImageWithProgress(ctx context.Context, image, machineName, parentEventID string) error {
|
||||
pw := progress.ContextWriter(ctx)
|
||||
eventID := fmt.Sprintf("Image %s on %s", image, machineName)
|
||||
eventID := cliprogress.ImageEventID(image, machineName)
|
||||
pw.Event(progress.Event{
|
||||
ID: eventID,
|
||||
ParentID: parentEventID,
|
||||
|
||||
Reference in New Issue
Block a user