From bf89050e8bd960d398a1f7f5228de3341ced049d Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Sat, 4 Jan 2020 15:10:37 -0500 Subject: [PATCH] Update userdata table name --- node-daemon/pvcd/MetadataAPIInstance.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/node-daemon/pvcd/MetadataAPIInstance.py b/node-daemon/pvcd/MetadataAPIInstance.py index 6c474d6e..5e607b16 100644 --- a/node-daemon/pvcd/MetadataAPIInstance.py +++ b/node-daemon/pvcd/MetadataAPIInstance.py @@ -140,7 +140,7 @@ class MetadataAPIInstance(object): # Obtain a list of templates def get_profile_userdata(self, vm_profile): query = """SELECT userdata FROM profile - JOIN userdata_template ON profile.userdata_template = userdata_template.id + JOIN userdata ON profile.userdata = userdata.id WHERE profile.name = %s; """ args = (vm_profile,)