Skip to content

Commit

Permalink
fix: Update connection calling wrong API method (#197)
Browse files Browse the repository at this point in the history
  • Loading branch information
drstrangelooker authored May 10, 2023
1 parent c8ec619 commit e122b47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/gzr/modules/connection.rb
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ def create_connection(body)
def update_connection(name,body)
data = nil
begin
data = @sdk.connection(name,body).to_attrs
data = @sdk.update_connection(name,body).to_attrs
rescue LookerSDK::NotFound => e
say_warning "Connection #{name} not found"
rescue LookerSDK::Error => e
Expand Down

0 comments on commit e122b47

Please sign in to comment.