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

chore: Use ldflag version in migrate_test.go in NoPendingFiles #1712

Merged
merged 1 commit into from
Jun 1, 2023

Conversation

silasdavis
Copy link
Contributor

fixes #1709

Comment on lines 878 to 883
v, _ := parseV(version)
require.Equal(t, cloudapi.ReportMigrationInput{
ProjectName: "example",
DirName: "migrations/v1/mysql",
EnvName: "local",
AtlasVersion: "Atlas CLI - development",
AtlasVersion: "Atlas CLI " + v,
Copy link
Member

Choose a reason for hiding this comment

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

Can you use operatorVersion() instead?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done

Signed-off-by: Silas Davis <silas.davis@monaxlabs.io>
Copy link
Member

@a8m a8m left a comment

Choose a reason for hiding this comment

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

Thanks for the contribution, @silasdavis 🙏🏻

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.

Test shipped with v0.12.0 fails
2 participants