Skip to content

Commit

Permalink
Fix AWS secret access key typo in autostop codepath (#1946)
Browse files Browse the repository at this point in the history
Fix AWS secrete access key typo in autostop codepath

`AWS_SECRETE_ACCESS_KEY` -> `AWS_SECRET_ACCESS_KEY`.
  • Loading branch information
concretevitamin authored May 10, 2023
1 parent 8d3fce2 commit 2d899a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sky/skylet/events.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ def _stop_cluster(self, autostop_config):
# by the env vars). See #1880 for details.
env = dict(os.environ, RAY_USAGE_STATS_ENABLED='0')
env.pop('AWS_ACCESS_KEY_ID', None)
env.pop('AWS_SECRETE_ACCESS_KEY', None)
env.pop('AWS_SECRET_ACCESS_KEY', None)

# We do "initial ray up + ray down --workers-only" only for
# multinode clusters as they are not needed for single-node.
Expand Down

0 comments on commit 2d899a9

Please sign in to comment.