Update bundle extension

It's now .dab, for Distributed Application Bundle

Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
This commit is contained in:
Aanand Prasad 2016-06-22 14:53:45 -07:00
parent 85e3ad2655
commit 72849d99c0
1 changed files with 3 additions and 3 deletions

View File

@ -217,7 +217,7 @@ class TopLevelCommand(object):
def bundle(self, config_options, options):
"""
Generate a Docker bundle from the Compose file.
Generate a Distributed Application Bundle (DAB) from the Compose file.
Images must have digests stored, which requires interaction with a
Docker registry. If digests aren't stored for all images, you can pass
@ -231,14 +231,14 @@ class TopLevelCommand(object):
--fetch-digests Automatically fetch image digests if missing
-o, --output PATH Path to write the bundle file to.
Defaults to "<project name>.dsb".
Defaults to "<project name>.dab".
"""
self.project = project_from_options('.', config_options)
compose_config = get_config_from_options(self.project_dir, config_options)
output = options["--output"]
if not output:
output = "{}.dsb".format(self.project.name)
output = "{}.dab".format(self.project.name)
with errors.handle_connection_errors(self.project.client):
try: