File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
st2common/st2common/runners Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 2828from st2common import log as logging
2929from st2common .constants import action as action_constants
3030from st2common .constants import pack as pack_constants
31- from st2common .constants .runners import RUNNERS_NAMESPACE
31+ from st2common .constants .runners import RUNNERS_NAMESPACE , MANIFEST_FILE_NAME
3232from st2common .content .utils import get_pack_directory
3333from st2common .content .utils import get_pack_base_path
3434from st2common .exceptions import actionrunner as exc
@@ -120,7 +120,7 @@ def get_metadata(package_name):
120120 """
121121 import pkg_resources
122122
123- file_path = pkg_resources .resource_filename (package_name , "runner.yaml" )
123+ file_path = pkg_resources .resource_filename (package_name , MANIFEST_FILE_NAME )
124124
125125 with open (file_path , "r" ) as fp :
126126 content = fp .read ()
You can’t perform that action at this time.
0 commit comments