From d614aabe283aed21668c8e18edf57ba0eda45ffc Mon Sep 17 00:00:00 2001 From: Mike Raineri Date: Fri, 23 Sep 2022 09:10:53 -0400 Subject: [PATCH] Corrected passing of the event_types argument from rf_event_service.py when creating an event subscription Signed-off-by: Mike Raineri --- scripts/rf_event_service.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/rf_event_service.py b/scripts/rf_event_service.py index 02084a4..4dce29a 100644 --- a/scripts/rf_event_service.py +++ b/scripts/rf_event_service.py @@ -42,7 +42,7 @@ try: if args.command == "subscribe": response = redfish_utilities.create_event_subscription( redfish_obj, args.destination, format = args.format, client_context = args.context, - expand = args.expand, resource_types = args.resourcetypes, registries = args.registries ) + expand = args.expand, resource_types = args.resourcetypes, registries = args.registries, event_types = args.eventtypes ) print( "Created subscription '{}'".format( response.getheader( "Location" ) ) ) elif args.command == "unsubscribe": print( "Deleting subscription '{}'".format( args.id ) )