File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -137,7 +137,7 @@ Examples:
137137 }
138138 }
139139
140- settings := api.HttpCronjobSettings {
140+ settings := api.HTTPCronjobSettings {
141141 Path : path ,
142142 Method : method ,
143143 }
Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ Examples:
5252 method := c .String ("method" )
5353
5454 // Decode existing settings for defaults in both TTY and non-TTY.
55- var currentSettings api.HttpCronjobSettings
55+ var currentSettings api.HTTPCronjobSettings
5656 if existing .Settings != nil {
5757 _ = json .Unmarshal (* existing .Settings , & currentSettings )
5858 }
@@ -121,7 +121,7 @@ Examples:
121121 }
122122 }
123123
124- settings := api.HttpCronjobSettings {
124+ settings := api.HTTPCronjobSettings {
125125 Path : path ,
126126 Method : method ,
127127 }
Original file line number Diff line number Diff line change @@ -44,8 +44,8 @@ type CreateCronjobRequest struct {
4444 Settings json.RawMessage `json:"settings,omitempty"`
4545}
4646
47- // HttpCronjobSettings holds the settings for an HTTP-type cron job.
48- type HttpCronjobSettings struct {
47+ // HTTPCronjobSettings holds the settings for an HTTP-type cron job.
48+ type HTTPCronjobSettings struct {
4949 Path string `json:"path"`
5050 Method string `json:"method"`
5151 Headers map [string ]string `json:"headers,omitempty"`
You can’t perform that action at this time.
0 commit comments