Skip to content

Commit

Permalink
reverting fallback
Browse files Browse the repository at this point in the history
  • Loading branch information
abiswal2001 committed Oct 20, 2023
1 parent 325e5c5 commit 61d5b9e
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions skyplane/compute/aws/aws_auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,7 @@ def __init__(self, config: Optional[SkyplaneConfig] = None, access_key: Optional
if not config is None:
self.config = config
else:
if config_path.exists():
self.config = SkyplaneConfig.load_config(config_path)
else:
self.config = SkyplaneConfig.default_config()
self.config = SkyplaneConfig.load_config(config_path)

if access_key and secret_key:
self.config_mode = "manual"
Expand Down

0 comments on commit 61d5b9e

Please sign in to comment.