From e8094fb91d539d630276c2d0f26ceb4dcfd9c022 Mon Sep 17 00:00:00 2001 From: Brian Cain Date: Mon, 16 Nov 2015 08:59:25 -0800 Subject: [PATCH] Use correct variable for formatting hosts --- lib/vmfloaty/utils.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/vmfloaty/utils.rb b/lib/vmfloaty/utils.rb index 24f822f..043ae4d 100644 --- a/lib/vmfloaty/utils.rb +++ b/lib/vmfloaty/utils.rb @@ -43,7 +43,7 @@ class Utils def self.prettyprint_hosts(hosts) puts "Running VMs:" - running_vms.each do |vm| + hosts.each do |vm| puts "- #{vm}" end end