Skip to content

Commit 197fc6c

Browse files
committed
Remove debug print statements from AKS VPN
1 parent 87536aa commit 197fc6c

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

test/support/aks_vpn.rb

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,6 @@ def setup_port_forward
7272
port_forward_ready = false
7373
Thread.new do
7474
port_forward_stdout.each do |line|
75-
puts "DEBUG (port-forward): #{line}" if verbose
7675
port_forward_ready = true if line.include?("Forwarding from")
7776
end
7877
end
@@ -98,8 +97,6 @@ def extract_msi_info
9897
endpoint = nil
9998
header = nil
10099

101-
puts "DEBUG: Attempting SSH connection to #{HOST}:#{port} as #{username}"
102-
puts "DEBUG: Using publickey auth"
103100
Net::SSH.start(HOST, username, port:, auth_methods: [ "publickey" ]) do |ssh|
104101
# Extract the IDENTITY_ENDPOINT and IDENTITY_HEADER from the pod environment
105102
endpoint = ssh.exec! [ "bash", "-l", "-c", %(printenv IDENTITY_ENDPOINT || echo "http://169.254.169.254/metadata/identity/oauth2/token") ].shelljoin

0 commit comments

Comments
 (0)