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:
Lei Li
2017-03-03 16:00:14 +08:00
parent 2bb944e2d7
commit 405df30e34

View File

@@ -518,7 +518,7 @@ def do_update(cs, args):
def do_attach(cs, args): def do_attach(cs, args):
"""Attach to a container.""" """Attach to a container."""
response = cs.containers.attach(args.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', @utils.arg('container',