Fix typo
This commit is contained in:
parent
729ed3843d
commit
ba8e315eed
@ -301,8 +301,8 @@ class VaultDestinationPlugin(DestinationPlugin):
|
|||||||
C=c
|
C=c
|
||||||
)
|
)
|
||||||
if not obj_name:
|
if not obj_name:
|
||||||
obj_name = '{CN}'
|
obj_name = '{CN}'
|
||||||
|
|
||||||
f_obj_name = obj_name.format(
|
f_obj_name = obj_name.format(
|
||||||
CN=cn,
|
CN=cn,
|
||||||
OU=ou,
|
OU=ou,
|
||||||
@ -312,10 +312,10 @@ class VaultDestinationPlugin(DestinationPlugin):
|
|||||||
C=c
|
C=c
|
||||||
)
|
)
|
||||||
|
|
||||||
path = "{0}/{1}".format(t_path, obj_name)
|
path = "{0}/{1}".format(t_path, f_obj_name)
|
||||||
# TODO: obj_name support for vars
|
# TODO: obj_name support for vars
|
||||||
|
|
||||||
secret_t = get_secret(client, mount, path)
|
secret = get_secret(client, mount, path)
|
||||||
secret["data"][cname] = {}
|
secret["data"][cname] = {}
|
||||||
|
|
||||||
if not cert_chain:
|
if not cert_chain:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user