diff --git a/slapos/recipe/generic_mysql/__init__.py b/slapos/recipe/generic_mysql/__init__.py index e8ddc35a6de71db5520cb1079a8a6ba3aede4a66..a49700eadc90a4f2fefa1ce20fc0e8a53e8e6e8f 100644 --- a/slapos/recipe/generic_mysql/__init__.py +++ b/slapos/recipe/generic_mysql/__init__.py @@ -69,7 +69,7 @@ class Recipe(GenericBaseRecipe): mysql_script_list = [] # user defined functions - mroonga = options.get('mroonga', 'ha_mroonga.so') + mroonga = self.options.get('mroonga', 'ha_mroonga.so') if mroonga: last_insert_grn_id = "CREATE FUNCTION last_insert_grn_id RETURNS " \ "INTEGER SONAME '" + mroonga + "';"