Assign upload_files variable outside of if construction in DecortController.k8s_provision method
This commit is contained in:
@@ -3514,6 +3514,7 @@ class DecortController(object):
|
||||
extnetOnly=extnet_only,
|
||||
)
|
||||
|
||||
upload_files = None
|
||||
if oidc_cert:
|
||||
upload_files = {'oidcCertificate': ('cert.pem', str(oidc_cert),'application/x-x509-ca-cert')}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user