[pve-devel] [PATCH proxmox 1/2] websocket: make field public

Fabian Grünbichler f.gruenbichler at proxmox.com
Tue Apr 13 14:16:19 CEST 2021


Signed-off-by: Fabian Grünbichler <f.gruenbichler at proxmox.com>
---
 proxmox/src/tools/websocket.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/proxmox/src/tools/websocket.rs b/proxmox/src/tools/websocket.rs
index 57e2591..8685aab 100644
--- a/proxmox/src/tools/websocket.rs
+++ b/proxmox/src/tools/websocket.rs
@@ -658,7 +658,7 @@ pub const MAGIC_WEBSOCKET_GUID: &str = "258EAFA5-E914-47DA-95CA-C5AB0DC85B11";
 
 /// Provides methods for connecting a WebSocket endpoint with another
 pub struct WebSocket {
-    text: bool,
+    pub text: bool,
 }
 
 impl WebSocket {
-- 
2.20.1






More information about the pve-devel mailing list