Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get cluster fixes #153

Merged
merged 3 commits into from
Aug 10, 2018
Merged

Conversation

richardcase
Copy link
Contributor

@richardcase richardcase commented Aug 9, 2018

Changed the 'list clusters' functionality:

@@ -0,0 +1,44 @@
{

This comment was marked as abuse.

This comment was marked as abuse.

// ValidClusterStatus checks that the provided status is a valid
// status of a cluster according to AWS SDK
func ValidClusterStatus(status string) bool {
valid := map[string]bool{awseks.ClusterStatusActive: true, awseks.ClusterStatusCreating: true, awseks.ClusterStatusDeleting: true, awseks.ClusterStatusFailed: true}

This comment was marked as abuse.

This comment was marked as abuse.

This comment was marked as abuse.

This comment was marked as abuse.

This comment was marked as abuse.

errordeveloper
errordeveloper previously approved these changes Aug 10, 2018
Copy link
Contributor

@errordeveloper errordeveloper left a comment

Choose a reason for hiding this comment

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

This LGTM! Please squash into one commit before merging 👍

Update the list clusters tests to ensure we cover the scenario
where a cluster isn't ready.
@richardcase richardcase merged commit fe7b649 into eksctl-io:master Aug 10, 2018
torredil pushed a commit to torredil/eksctl that referenced this pull request May 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants