Right websocket attach for interactive mode
It should call _websocket_attach as zun_utils does not have such method. Closes-Bug: #1669704 Change-Id: I84ef1ef317d180bcc386b42c87c325939154497c Signed-off-by: Lei Li <lilei16@lenovo.com>
This commit is contained in:
@@ -518,7 +518,7 @@ def do_update(cs, args):
|
||||
def do_attach(cs, args):
|
||||
"""Attach to a container."""
|
||||
response = cs.containers.attach(args.container)
|
||||
zun_utils.websocket_attach(response, args.container, "~", 0.5)
|
||||
_websocket_attach(response, args.container, "~", 0.5)
|
||||
|
||||
|
||||
@utils.arg('container',
|
||||
|
Reference in New Issue
Block a user