Fix logging of password during create_vim.
create_vim function logged the vim_arg object which includes an embedded password. This change masks that password. Change-Id: I80432ab3432a8a1eea8f1f9c74c0deb5ce0180d1
This commit is contained in:
parent
eaebbeb5f8
commit
f955b2a62a
|
@ -16,6 +16,7 @@ from __future__ import absolute_import
|
|||
|
||||
from django.conf import settings
|
||||
from oslo_log import log as logging
|
||||
from oslo_utils import strutils
|
||||
from tackerclient.v1_0 import client as tacker_client
|
||||
|
||||
from horizon.utils.memoized import memoized # noqa
|
||||
|
@ -84,7 +85,7 @@ def delete_vnfd(request, vnfd_id):
|
|||
|
||||
|
||||
def create_vim(request, vim_arg):
|
||||
LOG.debug("create_vim(): vim_arg=%s", str(vim_arg))
|
||||
LOG.debug("create_vim(): vim_arg=%s", strutils.mask_password(vim_arg))
|
||||
vim_instance = tackerclient(request).create_vim(body=vim_arg)
|
||||
return vim_instance
|
||||
|
||||
|
|
Loading…
Reference in New Issue