diff --git a/client/lxd_instances.go b/client/lxd_instances.go
index <HASH>..<HASH> 100644
--- a/client/lxd_instances.go
+++ b/client/lxd_instances.go
@@ -2266,7 +2266,7 @@ func (r *ProtocolLXD) proxyMigration(targetOp *operation, targetSecrets map[stri
 
 	// Struct used to hold everything together
 	type proxy struct {
-		done       chan bool
+		done       chan struct{}
 		sourceConn *websocket.Conn
 		targetConn *websocket.Conn
 	}
client: Update for WebsocketProxy change