Skip to content

Commit

Permalink
fix(client): require the tag for builds:create
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthew Fisher committed May 26, 2015
1 parent d081858 commit 68662b0
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions client/deis.py
Original file line number Diff line number Diff line change
Expand Up @@ -958,15 +958,19 @@ def builds_create(self, args):
Arguments:
<image>
A fully-qualified docker image, either from Docker Hub (e.g. deis/example-go)
or from an in-house registry (e.g. myregistry.example.com:5000/example-go).
A fully-qualified docker image, either from Docker Hub (e.g. deis/example-go:latest)
or from an in-house registry (e.g. myregistry.example.com:5000/example-go:latest).
This image must include the tag.
Options:
-a --app=<app>
The uniquely identifiable name for the application.
-p --procfile=<procfile>
A YAML string used to supply a Procfile to the application.
"""
if ':' not in args['<image>']:
self._logger.error('<image> must contain a tag')
sys.exit(1)
app = args.get('--app')
if not app:
app = self._session.app
Expand Down

0 comments on commit 68662b0

Please sign in to comment.