Skip to content
This repository was archived by the owner on Jun 2, 2021. It is now read-only.

Commit 5780ec6

Browse files
v3(style): fix rubocop warnings
[#175662475](https://www.pivotaltracker.com/story/show/175662475)
1 parent 3b7b596 commit 5780ec6

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

app/actions/service_credential_binding_app_create.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def precursor(service_instance, app: nil, name: nil, volume_mount_services_enabl
4747

4848
def complete_binding_and_save(binding, binding_details, last_operation)
4949
binding.save_with_attributes_and_new_operation(
50-
binding_details.symbolize_keys().slice(*PERMITTED_BINDING_ATTRIBUTES),
50+
binding_details.symbolize_keys.slice(*PERMITTED_BINDING_ATTRIBUTES),
5151
{
5252
type: 'create',
5353
state: last_operation[:state],

spec/request/service_credential_bindings_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1383,7 +1383,7 @@ def check_filtered_bindings(*bindings)
13831383
syslog_drain_url: syslog_drain_url,
13841384
credentials: credentials,
13851385
parameters: parameters,
1386-
service_id:'extra-field-service_id-should-ignore',
1386+
service_id: 'extra-field-service_id-should-ignore',
13871387
name: 'extra-field-name-should-not-update',
13881388
}
13891389
end

0 commit comments

Comments
 (0)