Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -180,8 +180,8 @@ GEM
coderay (1.1.3)
concurrent-ruby (1.3.8)
connection_pool (2.5.5)
cookstyle (8.7.6)
rubocop (= 1.86.1)
cookstyle (9.0.0)
rubocop (= 1.90.0)
corefoundation (0.3.19)
ffi (>= 1.15.0)
crack (1.0.1)
Expand Down Expand Up @@ -485,8 +485,8 @@ GEM
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.13.0)
rspec-support (3.13.7)
rubocop (1.86.1)
json (~> 2.3)
rubocop (1.90.0)
json (>= 2.3)
language_server-protocol (~> 3.17.0.2)
lint_roller (~> 1.1.0)
parallel (>= 1.10)
Expand Down
6 changes: 3 additions & 3 deletions lib/chef/knife.rb
Original file line number Diff line number Diff line change
Expand Up @@ -541,9 +541,9 @@ def humanize_exception(e)
ui.info "Check your knife configuration and network settings"
when NameError, NoMethodError
ui.error "knife encountered an unexpected error"
ui.info "This may be a bug in the '#{self.class.common_name}' knife command or plugin"
ui.info "Please collect the output of this command with the `-VVV` option before filing a bug report."
ui.info "Exception: #{e.class.name}: #{e.message}"
ui.info "This may be a bug in the '#{self.class.common_name}' knife command or plugin"
ui.info "Please collect the output of this command with the `-VVV` option before filing a bug report."
ui.info "Exception: #{e.class.name}: #{e.message}"
when Chef::Exceptions::PrivateKeyMissing
ui.error "Your private key could not be loaded from #{api_key}"
ui.info "Check your configuration file and ensure that your private key is readable"
Expand Down
2 changes: 1 addition & 1 deletion lib/chef/knife/user_delete.rb
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def run
end

def disassociate_user(orgs, username)
orgs.each { |org| org.dissociate_user(username) }
orgs.each { |org| org.dissociate_user(username) }
end

def org_memberships(username)
Expand Down
Loading