lib/k8s_kit/context.rb in k9s_kit-0.0.7.pre.pre6 vs lib/k8s_kit/context.rb in k9s_kit-0.0.7.pre.pre7
- old
+ new
@@ -13,10 +13,9 @@
"kubectl #{ns}"
end
def run(cmd, silent: true)
cmd = "#{kubectl} #{cmd}"
- puts "Running #{cmd}"
out = []
Open3.popen2e(cmd) do |stdin, stdout_err, wait_thr|
while line = stdout_err.gets
puts line unless silent