Skip to content
This repository has been archived by the owner on Jul 9, 2024. It is now read-only.

environment variable for events namespace and bug fix #64

Merged
merged 3 commits into from
Feb 1, 2020

Conversation

vgunapati
Copy link
Collaborator

No description provided.

@@ -169,6 +170,7 @@ def _describe_launch_configuration():

def log_k8s_event(self, asg_name, price="", useSpot=False):
msg_str = '{"apiVersion":"v1alpha1","spotPrice":"' + price + '", "useSpot": ' + str(useSpot).lower() + '}'
mm_namespace = os.getenv('MINION_MANAGER_NAMESPACE', 'default')
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good idea!

@@ -685,7 +688,7 @@ def minion_manager_work(self):
self.update_scaling_group(asg_meta, new_bid_info)
continue

# Update ASGs iff new bid is different from current bid.
# Update ASGs if new bid is different from current bid.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The iff here was intentional. iff was for "if and only if"

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

got it, I reverted the change

@vgunapati vgunapati merged commit 4b9b744 into keikoproj:master Feb 1, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants