On 02/18/2010 02:17 PM, David Lutterkort wrote:
On Wed, 2010-02-17 at 15:35 -0500, Chris Lalancette wrote:
> While using the mock driver for a while I noticed that my
> instances started having weird names. I eventually figured
> out that the mock driver is auto-assigning instance names
> based on the instances that already exist. However, it does
> this using the string "succ" method, which means that after
> you get to inst9, the next instance is actually insu0. Fix
> it so that we only increment the number part of the name.
>
> Signed-off-by: Chris Lalancette <clalance(a)redhat.com>
> ---
> .../lib/deltacloud/drivers/mock/mock_driver.rb | 10 +++++++++-
> 1 files changed, 9 insertions(+), 1 deletions(-)
ACK.
Thanks, I've pushed this now.
--
Chris Lalancette