From 3c8079666fba823467f3ff803c4d82ba9e9d0b82 Mon Sep 17 00:00:00 2001 From: zhaoleilc <15247232416@163.com> Date: Fri, 22 May 2020 10:57:01 +0800 Subject: [PATCH] Fix an erroneous grammar in explanatory notes This patch changes 'The volumes already detached' to 'The volumes have already been detached' at 2983 line in nova/ compute/manager.py Change-Id: I9a312527097b8ce7862616522cecd61b3576a71d Closes-Bug: #1880057 --- nova/compute/manager.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/nova/compute/manager.py b/nova/compute/manager.py index 18b730a1be..d03f1297d4 100644 --- a/nova/compute/manager.py +++ b/nova/compute/manager.py @@ -2980,10 +2980,10 @@ class ComputeManager(manager.Manager): # and to only ignore the failure if the instance # is already in ERROR. - # NOTE(ameeda): The volumes already detached during the above - # _shutdown_instance() call and this is why - # detach is not requested from _cleanup_volumes() - # in this case + # NOTE(ameeda): The volumes have already been detached during + # the above _shutdown_instance() call and this is + # why detach is not requested from + # _cleanup_volumes() in this case self._cleanup_volumes(context, instance, bdms, raise_exc=False, detach=False)