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

fix: Change VariableType type from string to VariableTypeValue #1969

Merged
merged 2 commits into from
Jul 12, 2024

Conversation

perrze
Copy link

@perrze perrze commented Jul 9, 2024

Hi,
I changed the type of VariableType in pipelines.go, jobs.go and pipeline_schedules.go PipelineVariable Object from string to VariableTypeValue.
Indeed in group_variables.go line 123 the CreateGroupVariableOptions had this type for VariableType for example and I didn't find a reason why it would be different.

It passes test and gofumpt.
I hope it will be useful !
Have a nice day

Copy link
Member

@svanharmelen svanharmelen left a comment

Choose a reason for hiding this comment

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

Thanks @perrze 👍🏻

@svanharmelen svanharmelen merged commit ec404fa into xanzy:main Jul 12, 2024
3 checks passed
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