From 414ac22f405582f77500a3c6804cb06a24c07db6 Mon Sep 17 00:00:00 2001 From: Brian Cain Date: Sat, 12 Nov 2016 13:39:16 -0800 Subject: [PATCH] (#37) floaty snapshot warns users about snapshots pending Vmpooler works by generating a snapshot sha and queueing the host for taking a snapshot. Depending on the load of vmpooler, this could take quite a while to complete making it a little confusing to users trying to use that snapshot name right away. This commit adds a warning to the snapshot command about taking snapshots. --- lib/vmfloaty.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/vmfloaty.rb b/lib/vmfloaty.rb index 360e376..ce80f47 100644 --- a/lib/vmfloaty.rb +++ b/lib/vmfloaty.rb @@ -308,6 +308,7 @@ class Vmfloaty exit 1 end + puts "Snapshot pending. Use `floaty query host` to determine when snapshot is valid." pp snapshot_req end end