Skip to content

Commit 66bf0af

Browse files
committed
Use default region and profile in list command
1 parent 317f64a commit 66bf0af

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

CHANGELOG.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
1-
0.4.1 (2019-08-12)
1+
0.4.2 (unreleased)
22
------------------
33

4+
* Use default region and profile in list command
5+
6+
0.4.1 (2019-08-12)
7+
------------------
48

59
* Homebrew package is now available
610

aws_gate/cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ def main():
113113
if args.subcommand == 'session':
114114
session(config=config, instance_name=args.instance_name, region_name=region, profile_name=profile)
115115
if args.subcommand in ['ls', 'list']:
116-
list_instances(region_name=args.region, profile_name=args.profile)
116+
list_instances(region_name=region, profile_name=profile)
117117

118118

119119
if __name__ == '__main__':

0 commit comments

Comments
 (0)