Skip to content

Commit

Permalink
fix rubocop lint
Browse files Browse the repository at this point in the history
  • Loading branch information
aba-zwicker committed Sep 24, 2024
1 parent d38b6d7 commit c1fbfea
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/puppet/provider/keycloak_ldap_user_provider/kcadm.rb
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ def self.prefetch(resources)
end

def get_parent_id(realm)
parent_id = nil
output = kcadm('get', "realms/#{realm}", nil, nil, ['id'])
Puppet.debug("#{realm} realms: #{output}")
begin
Expand All @@ -67,8 +66,7 @@ def get_parent_id(realm)
Puppet.debug("Unable to parse output from kcadm get realms/#{realm}")
data = {}
end
parent_id = data['id']
parent_id
data['id']
end

def create
Expand Down

0 comments on commit c1fbfea

Please sign in to comment.