We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 49bba74 commit 8c6c37bCopy full SHA for 8c6c37b
1 file changed
client/deis.py
@@ -94,9 +94,9 @@ def __init__(self):
94
def app(self):
95
"""Retrieve the application's name."""
96
try:
97
- return self._get_name_from_git_remote(self.git_root())
+ return self._get_name_from_git_remote(self.git_root()).lower()
98
except EnvironmentError:
99
- return os.path.basename(os.getcwd())
+ return os.path.basename(os.getcwd()).lower()
100
101
def is_git_app(self):
102
"""Determines if this app is a git repository. This is important in special cases
@@ -1941,6 +1941,8 @@ def parse_args(cmd):
1941
1942
def _dispatch_cmd(method, args):
1943
logger = logging.getLogger(__name__)
1944
+ if args.get('--app'):
1945
+ args['--app'] = args['--app'].lower()
1946
1947
method(args)
1948
except requests.exceptions.ConnectionError as err:
0 commit comments