Skip to content

Commit

Permalink
Rename LaunchNestedContainer message to LaunchNestedContainerSession.
Browse files Browse the repository at this point in the history
  • Loading branch information
klueska committed Oct 25, 2016
1 parent a0818c6 commit e806225
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions client.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
from messages import Call
from messages import ListContainersRequest
from messages import ListContainersResponse
from messages import LaunchNestedContainer
from messages import LaunchNestedContainerSession
from messages import AttachContainerMessage
from messages import ControlMsg
from messages import InitiateStream
Expand Down Expand Up @@ -226,7 +226,7 @@ def attach_container_output_stream(addr, initiate_stream_msg):
threads = []

if (sys.argv[2] == "exec"):
msg = LaunchNestedContainer(
msg = LaunchNestedContainerSession(
args["<container-id>"],
args["<cmd>"],
args["<args>"])
Expand Down
2 changes: 1 addition & 1 deletion messages.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class ListContainersResponse(object):
def __init__(self, container_ids):
self.container_ids = container_ids

class LaunchNestedContainer(object):
class LaunchNestedContainerSession(object):
def __init__(self, container_id, cmd, args):
self.container_id = container_id
self.cmd = cmd
Expand Down
2 changes: 1 addition & 1 deletion server.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
from messages import Call
from messages import ListContainersRequest
from messages import ListContainersResponse
from messages import LaunchNestedContainer
from messages import LaunchNestedContainerSession
from messages import AttachContainerMessage
from messages import ControlMsg
from messages import InitiateStream
Expand Down

0 comments on commit e806225

Please sign in to comment.