Skip to content
This repository has been archived by the owner on Dec 10, 2024. It is now read-only.

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 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.

2 participants