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

Commit

Permalink
feat: Rename GitProxyInsecure to InsecureSkipTLS since that property …
Browse files Browse the repository at this point in the history
…should not only be tied to the proxy feature (#445)

BREAKING CHANGE: Rename the create/update project parameter `GitProxyInsecure` to `InsecureSkipTLS`
Signed-off-by: Florian Bacher <[email protected]>
  • Loading branch information
bacherfl authored Apr 11, 2022
1 parent 802847e commit 003ee3f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions pkg/api/models/create_project.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ type CreateProject struct {
// git proxy user
GitProxyUser string `json:"gitProxyUser,omitempty"`

// git proxy insecure
GitProxyInsecure bool `json:"gitProxyInsecure"`
// insecure skip tls
InsecureSkipTLS bool `json:"insecureSkipTLS"`

// git proxy password
GitProxyPassword string `json:"gitProxyPassword,omitempty"`
Expand Down
4 changes: 2 additions & 2 deletions pkg/api/models/expanded_project.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ type ExpandedProject struct {
// git proxy user
GitProxyUser string `json:"gitProxyUser,omitempty"`

// git proxy insecure
GitProxyInsecure bool `json:"gitProxyInsecure"`
// insecure skip tls
InsecureSkipTLS bool `json:"insecureSkipTLS"`

// stages
Stages []*ExpandedStage `json:"stages"`
Expand Down
4 changes: 2 additions & 2 deletions pkg/api/models/project.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ type Project struct {
// git proxy user
GitProxyUser string `json:"gitProxyUser,omitempty"`

// git proxy insecure
GitProxyInsecure bool `json:"gitProxyInsecure"`
// insecure skip tls
InsecureSkipTLS bool `json:"insecureSkipTLS"`

// git proxy password
GitProxyPassword string `json:"gitProxyPassword,omitempty"`
Expand Down

0 comments on commit 003ee3f

Please sign in to comment.