Remove unused logging import and LOG global var
In some modules the global LOG is not used any more. And the import of logging is not used. This patch removes the unused logging import and LOG vars. Co-Authored-By: ChangBo Guo(gcb) <eric.guo@easystack.cn> Change-Id: Ia72f99688ce00aeecca9239f9ef123611259a2fa
This commit is contained in:
committed by
ChangBo Guo(gcb)
parent
94f1fe1e46
commit
e33d6bfb0b
@@ -13,7 +13,6 @@
|
||||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
from oslo_log import log as logging
|
||||
import oslo_messaging
|
||||
|
||||
from cinder.api import extensions
|
||||
@@ -25,9 +24,6 @@ from cinder import objects
|
||||
from cinder.volume import rpcapi
|
||||
|
||||
|
||||
LOG = logging.getLogger(__name__)
|
||||
|
||||
|
||||
def authorize(context, action_name):
|
||||
extensions.extension_authorizer('volume', action_name)(context)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user