aci: pylint
This commit is contained in:
parent
a531ce199d
commit
3e148556e6
1 changed files with 12 additions and 16 deletions
|
@ -85,7 +85,6 @@ class ACIImage(TarImageFormatter):
|
|||
|
||||
return isolators
|
||||
|
||||
|
||||
@staticmethod
|
||||
def _get_docker_config_value(docker_config, key, default_value):
|
||||
# Try the key itself.
|
||||
|
@ -100,7 +99,6 @@ class ACIImage(TarImageFormatter):
|
|||
|
||||
return default_value
|
||||
|
||||
|
||||
@staticmethod
|
||||
def _build_ports(docker_config):
|
||||
""" Builds the ports definitions for the ACI. """
|
||||
|
@ -143,7 +141,6 @@ class ACIImage(TarImageFormatter):
|
|||
def _build_volumes(docker_config):
|
||||
""" Builds the volumes definitions for the ACI. """
|
||||
volumes = []
|
||||
names = set()
|
||||
|
||||
def get_name(docker_volume_path):
|
||||
return "volume-%s" % ACIImage._ac_name(docker_volume_path)
|
||||
|
@ -159,7 +156,6 @@ class ACIImage(TarImageFormatter):
|
|||
})
|
||||
return volumes
|
||||
|
||||
|
||||
@staticmethod
|
||||
def _build_manifest(namespace, repository, tag, docker_layer_data, synthetic_image_id):
|
||||
""" Builds an ACI manifest from the docker layer data. """
|
||||
|
|
Reference in a new issue