Skip to content

Commit

Permalink
client: Don't includee events listener for images operation
Browse files Browse the repository at this point in the history
Signed-off-by: Max Asnaashari <max.asnaashari@canonical.com>
  • Loading branch information
masnax committed Feb 14, 2024
1 parent ff180cc commit 34ca0ba
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions client/lxd_images.go
Original file line number Diff line number Diff line change
Expand Up @@ -565,9 +565,10 @@ func (r *ProtocolLXD) CreateImage(image api.ImagesPost, args *ImageCreateArgs) (

// Setup an Operation wrapper
op := operation{
Operation: *respOperation,
r: r,
chActive: make(chan bool),
Operation: *respOperation,
r: r,
chActive: make(chan bool),
skipListener: true,
}

return &op, nil
Expand Down

0 comments on commit 34ca0ba

Please sign in to comment.