-
Thomas Thrainer authored
When creating an instance, gnt-instance waits for instance disks to sync. Inconsistently, this was not the case for adding a disk to an instance. This patch changes the default behavior to wait for sync when adding a disk, but honor the --no-wait-for-sync option which `gnt-instance modify` already supports. Also adapt unit tests to mock the additional RPC call. Signed-off-by: Thomas Thrainer <thomasth@google.com> Reviewed-by: Jose A. Lopes <jabolopes@google.com>
922a9e65