mirror of
https://github.com/containers/podman.git
synced 2025-06-26 04:46:57 +08:00
Implement pod varlink bindings
* Update varlink document * Add NoContainersInPod error in go and python * Add support for varlink pod interface * New code passes pylint * Fix bug in test_runner.sh * Update integration tests for race condition on status check * Add missing port config file support Signed-off-by: Jhon Honce <jhonce@redhat.com>
This commit is contained in:
@ -69,8 +69,8 @@ class PodmanArgumentParser(argparse.ArgumentParser):
|
||||
self.add_argument(
|
||||
'--username',
|
||||
'-l',
|
||||
default=getpass.getuser(),
|
||||
help='Authenicating user on remote host. (default: %(default)s)')
|
||||
help='Authenicating user on remote host. (default: {})'.format(
|
||||
getpass.getuser()))
|
||||
self.add_argument(
|
||||
'--host', help='name of remote host. (default: None)')
|
||||
self.add_argument(
|
||||
@ -174,6 +174,13 @@ class PodmanArgumentParser(argparse.ArgumentParser):
|
||||
or getpass.getuser()
|
||||
) # yapf:disable
|
||||
|
||||
reqattr(
|
||||
'port',
|
||||
getattr(args, 'port')
|
||||
or os.environ.get('PORT')
|
||||
or config['default'].get('port', None)
|
||||
) # yapf:disable
|
||||
|
||||
reqattr(
|
||||
'remote_socket_path',
|
||||
getattr(args, 'remote_socket_path')
|
||||
|
Reference in New Issue
Block a user