Commit 165f0f26 authored by Patrick Webster's avatar Patrick Webster Committed by Sander van Harmelen

project_variables.go: removing Key from UpdateOptions struct (#521)

parent d6eb166e
......@@ -138,7 +138,6 @@ func (s *ProjectVariablesService) CreateVariable(pid interface{}, opt *CreateVar
// GitLab API docs:
// https://docs.gitlab.com/ee/api/project_level_variables.html#update-variable
type UpdateVariableOptions struct {
Key *string `url:"key,omitempty" json:"key,omitempty"`
Value *string `url:"value,omitempty" json:"value,omitempty"`
Protected *bool `url:"protected,omitempty" json:"protected,omitempty"`
EnvironmentScope *string `url:"environment_scope,omitempty" json:"environment_scope,omitempty"`
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment