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

CLOUDP-61081: Cleanup fixtures #113

Merged
merged 1 commit into from
Apr 20, 2020
Merged

CLOUDP-61081: Cleanup fixtures #113

merged 1 commit into from
Apr 20, 2020

Conversation

gssbzn
Copy link
Collaborator

@gssbzn gssbzn commented Apr 20, 2020

Proposed changes

Jira ticket: CLOUDP-61081

Checklist

  • I have added tests that prove my fix is effective or that my feature works
  • I have added any necessary documentation (if appropriate)
  • I have run make fmt and formatted my code

Further comments

We don't actually need a full working fixture for our test, only a match in types so I'm doing some clean up in preparation to renaming the package to singular

@gssbzn gssbzn requested a review from andreaangiolillo April 20, 2020 08:26
Copy link
Collaborator

@andreaangiolillo andreaangiolillo left a comment

Choose a reason for hiding this comment

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

LGTM 👍


clusterConfigs, err := opts.store.GetAutomationConfig(opts.ProjectID())
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This is a small drive by fix/clean up, we weren't checking for the error of the get and that was giving me then a nil pointer exception

@gssbzn gssbzn merged commit 76eea46 into master Apr 20, 2020
@gssbzn gssbzn deleted the CLOUDP-61081 branch April 20, 2020 08:32
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