1
0
mirror of https://github.com/rancher/types.git synced 2025-09-18 07:52:41 +00:00

Fix invalid json tags

This commit is contained in:
Darren Shepherd
2018-09-25 12:29:16 -07:00
parent f110addb68
commit 2eb09adc02
2 changed files with 3 additions and 3 deletions

View File

@@ -125,7 +125,7 @@ type NotifierSpec struct {
}
type Notification struct {
Message string `json:"message, omitempty"`
Message string `json:"message,omitempty"`
SMTPConfig *SMTPConfig `json:"smtpConfig,omitempty"`
SlackConfig *SlackConfig `json:"slackConfig,omitempty"`
PagerdutyConfig *PagerdutyConfig `json:"pagerdutyConfig,omitempty"`

View File

@@ -342,7 +342,7 @@ type PipelineSystemImages struct {
type GithubPipelineConfigApplyInput struct {
InheritAuth bool `json:"inheritAuth,omitempty"`
GithubConfig GithubPipelineConfig `json:"githubConfig, omitempty"`
GithubConfig GithubPipelineConfig `json:"githubConfig,omitempty"`
Code string `json:"code,omitempty"`
}
@@ -351,7 +351,7 @@ type GithubLoginInput struct {
}
type GitlabPipelineConfigApplyInput struct {
GitlabConfig GitlabPipelineConfig `json:"gitlabConfig, omitempty"`
GitlabConfig GitlabPipelineConfig `json:"gitlabConfig,omitempty"`
Code string `json:"code,omitempty"`
}