Skip to content
This repository was archived by the owner on Aug 16, 2022. It is now read-only.

fix: Move mock generation to separate files#409

Merged
hermanschaaf merged 1 commit intocloudquery:mainfrom
hermanschaaf:fix-mock-generation
Jul 12, 2022
Merged

fix: Move mock generation to separate files#409
hermanschaaf merged 1 commit intocloudquery:mainfrom
hermanschaaf:fix-mock-generation

Conversation

@hermanschaaf
Copy link
Copy Markdown
Contributor

@hermanschaaf hermanschaaf commented Jul 7, 2022

Before this change, there was a mix between build strings in services.go and in the separate service files. This ambiguity also seems to have resulted in a bug (#408), which this change fixes.

I tested it by deleting all the files in the mocks directory and regenerating them using make generate-mocks, which resulted in no changes according to git.

Closes #408

@hermanschaaf hermanschaaf requested review from a team and roneli and removed request for a team July 7, 2022 16:17
@yevgenypats yevgenypats changed the title fix: move mock generation to separate files fix: Move mock generation to separate files Jul 8, 2022
@hermanschaaf hermanschaaf merged commit 9f721e9 into cloudquery:main Jul 12, 2022
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.

generate-mocks makefile command fails with error

2 participants