We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 39e35f5 + 8c6c37b commit fdda24aCopy full SHA for fdda24a
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
@@ -1993,6 +1993,8 @@ def parse_args(cmd):
1993
1994
def _dispatch_cmd(method, args):
1995
logger = logging.getLogger(__name__)
1996
+ if args.get('--app'):
1997
+ args['--app'] = args['--app'].lower()
1998
1999
method(args)
2000
except requests.exceptions.ConnectionError as err:
0 commit comments