Fix golangci-lint and Sonar: drop newZlibState, extract applyEncoding, inline stub comment

This commit is contained in:
Viktor Liu
2026-05-17 17:16:10 +02:00
parent 61ec8d67de
commit 2d0a54f31a
3 changed files with 49 additions and 42 deletions

View File

@@ -10,7 +10,8 @@ type vncServer interface{}
func (e *Engine) updateVNC(_ *mgmProto.SSHConfig) error { return nil }
// updateVNCServerAuth is a no-op on platforms without a VNC server.
func (e *Engine) updateVNCServerAuth(_ *mgmProto.VNCAuth) {}
func (e *Engine) updateVNCServerAuth(_ *mgmProto.VNCAuth) {
// no-op on platforms without a VNC server
}
func (e *Engine) stopVNCServer() error { return nil }