Skip to content

Commit

Permalink
Merge pull request #519 from agrare/require_kubeclient_connection_res…
Browse files Browse the repository at this point in the history
…cue_block

Require kubeclient in connection_rescue_block

(cherry picked from commit 11f0134)
  • Loading branch information
Fryguy committed Mar 6, 2024
1 parent 2b36948 commit e56e15a
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -586,6 +586,7 @@ def self.verify_credentials(args)
end

def self.connection_rescue_block
require "kubeclient"
require "rest-client"
yield
rescue SocketError,
Expand Down

0 comments on commit e56e15a

Please sign in to comment.