Skip to content

Commit a2d8af3

Browse files
committed
fix: fixed class names for the CLI instruments
1 parent 9b10e44 commit a2d8af3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mamonsu/lib/runner.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ def quit_handler(_signo=None, _stack_frame=None):
9191
if len(commands) == 2:
9292
commands.append('postgrespro_agent.conf')
9393
for klass in Plugin.only_child_subclasses():
94-
if klass.__name__ != "PgWaitSampling" and klass.__name__ != "Cfs":
94+
if klass.__name__ != "WaitSampling" and klass.__name__ != "Cfs":
9595
plugins.append(klass(cfg))
9696
args.plugin_type = correct_plugin_type(args.plugin_type)
9797
if args.plugin_type == 'pg' or args.plugin_type == 'sys' or args.plugin_type == 'all':
@@ -165,7 +165,7 @@ def quit_handler(_signo=None, _stack_frame=None):
165165
args.plugin_type = correct_plugin_type(args.plugin_type)
166166
if args.plugin_type == 'pg' or args.plugin_type == 'sys' or args.plugin_type == 'all':
167167
for klass in Plugin.only_child_subclasses():
168-
if klass.__name__ != "PgWaitSampling" and klass.__name__ != "Cfs": # check if plugin is for EE
168+
if klass.__name__ != "WaitSampling" and klass.__name__ != "Cfs": # check if plugin is for EE
169169
plugins.append(klass(cfg))
170170
template = ZbxTemplate(args.template, args.application)
171171
try:

0 commit comments

Comments
 (0)