Commit 80ec9f96 authored by Michael Hanselmann's avatar Michael Hanselmann
Browse files

Migrate lib/rpc.py from constants to pathutils



File system paths moved from constants to pathutils.
Signed-off-by: default avatarMichael Hanselmann <hansmi@google.com>
Reviewed-by: default avatarIustin Pop <iustin@google.com>
parent 4e55af74
......@@ -47,6 +47,7 @@ from ganeti import ssconf
from ganeti import runtime
from ganeti import compat
from ganeti import rpc_defs
from ganeti import pathutils
# Special module generated at build time
from ganeti import _generated_rpc
......@@ -93,7 +94,7 @@ def Shutdown():
def _ConfigRpcCurl(curl):
noded_cert = str(constants.NODED_CERT_FILE)
noded_cert = str(pathutils.NODED_CERT_FILE)
curl.setopt(pycurl.FOLLOWLOCATION, False)
curl.setopt(pycurl.CAINFO, noded_cert)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment