Skip to content

Commit

Permalink
adhere to log format for dryrun message
Browse files Browse the repository at this point in the history
  • Loading branch information
miampf committed Mar 25, 2024
1 parent 87a20b7 commit 94f0b0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/api/versionsapi/cli/rm.go
Original file line number Diff line number Diff line change
Expand Up @@ -633,7 +633,7 @@ func (a *azureClient) deleteImage(ctx context.Context, image string, dryrun bool
}

if dryrun {
log.Debug(fmt.Sprintf("DryRun: delete image with gallery %q, image definition %q, resource group %q and version %q", azImage.gallery, azImage.imageDefinition, azImage.resourceGroup, azImage.version))
log.Debug(fmt.Sprintf("DryRun: delete image: gallery: %q, image definition: %q, resource group: %q, version: %q", azImage.gallery, azImage.imageDefinition, azImage.resourceGroup, azImage.version))
return nil
}

Expand Down

0 comments on commit 94f0b0f

Please sign in to comment.