What is the problem?
The client update command fails with error message error deciding update path: passed maintenance_info does not match the catalog maintenance_info.
Who does this affect?
service broker authors
Do you have any proposed solutions?
The client update should send a value for previous_values.maintenance_info.version and maintenance_info.version when sending the update request. Both values must match.
With the current implementation, both previous_values and maintenance_info are left empty when sending the request.
Alternatively, brokerapi/broker/decider/decider.go should be updated to match the use-case for the client-update command instead of throwing ErrMaintenanceInfoConflict
Additional context
Add any other context or screenshots can go here.
What is the problem? The
client update
command fails with error messageerror deciding update path: passed maintenance_info does not match the catalog maintenance_info
.Who does this affect? service broker authors
Do you have any proposed solutions?
The
client update
should send a value forprevious_values.maintenance_info.version
andmaintenance_info.version
when sending the update request. Both values must match. With the current implementation, bothprevious_values
andmaintenance_info
are left empty when sending the request.Alternatively,
brokerapi/broker/decider/decider.go
should be updated to match the use-case for the client-update command instead of throwingErrMaintenanceInfoConflict
Additional context Add any other context or screenshots can go here.