Missing optional parameter 'slot' on method 'delete_cloud_service_deployment' in file cloud_service_management_service.rb. The current implementation has hardcoded the deployment to 'production'(cf. line 124).
The proposed solution is to add an optional parameter called slot that is defaulted to 'production' as follow:
def delete_cloud_service_deployment(cloud_service_name, slot='production')
slot = "production" unless slot
request_path = "/services/hostedservices/#{cloud_service_name}/deploymentslots/#{slot}"
request = ManagementHttpRequest.new(:delete, request_path)
Loggerx.info "Deleting deployment of cloud service \"#{cloud_service_name}\" ..."
request.call
end
Missing optional parameter 'slot' on method 'delete_cloud_service_deployment' in file cloud_service_management_service.rb. The current implementation has hardcoded the deployment to 'production'(cf. line 124).
The proposed solution is to add an optional parameter called slot that is defaulted to 'production' as follow: