Skip to content

Commit

Permalink
Re-add tags to Binding struct
Browse files Browse the repository at this point in the history
Used by at least one app dependent on brokerapi

[#160090032]

Co-authored-by: Kieron Browne <[email protected]>
  • Loading branch information
jacknewberry and Kieron Browne committed Sep 20, 2018
1 parent 05e8bae commit 176671d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
8 changes: 4 additions & 4 deletions failure_response.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,11 +71,11 @@ func (f *FailureResponse) LoggerAction() string {
// AppendErrorMessage returns an error with the message updated. All other properties are preserved.
func (f *FailureResponse) AppendErrorMessage(msg string) *FailureResponse {
return &FailureResponse{
error: errors.New(fmt.Sprintf("%s %s", f.Error(), msg)),
statusCode: f.statusCode,
loggerAction: f.loggerAction,
error: errors.New(fmt.Sprintf("%s %s", f.Error(), msg)),
statusCode: f.statusCode,
loggerAction: f.loggerAction,
emptyResponse: f.emptyResponse,
errorKey: f.errorKey,
errorKey: f.errorKey,
}
}

Expand Down
12 changes: 6 additions & 6 deletions service_broker.go
Original file line number Diff line number Diff line change
Expand Up @@ -157,12 +157,12 @@ const (
)

type Binding struct {
IsAsync bool
OperationData string
Credentials interface{}
SyslogDrainURL string
RouteServiceURL string
VolumeMounts []VolumeMount
IsAsync bool `json:"is_async"`
OperationData string `json:"operation_data"`
Credentials interface{} `json:"credentials"`
SyslogDrainURL string `json:"syslog_drain_url"`
RouteServiceURL string `json:"route_service_url"`
VolumeMounts []VolumeMount `json:"volume_mounts"`
}

type GetBindingSpec struct {
Expand Down

0 comments on commit 176671d

Please sign in to comment.