diff --git a/src/client/smgr_inventory.py b/src/client/smgr_inventory.py index a99153f6..1c8d9930 100644 --- a/src/client/smgr_inventory.py +++ b/src/client/smgr_inventory.py @@ -74,11 +74,6 @@ def show_inv_details(self, args): else: rest_api_params['match_key'] = None rest_api_params['match_value'] = None - if args.type: - rest_api_params['select'] = args.type - if args.type == "status": - rest_api_params['object'] = 'InventoryConf' - else: - rest_api_params['select'] = None + rest_api_params['select'] = None return rest_api_params # end def show_inv_details diff --git a/src/client/smgr_monitoring.py b/src/client/smgr_monitoring.py index a65ea0e3..9b47d067 100644 --- a/src/client/smgr_monitoring.py +++ b/src/client/smgr_monitoring.py @@ -72,16 +72,7 @@ def show_mon_details(self, args): else: rest_api_params['match_key'] = None rest_api_params['match_value'] = None - if args.type: - rest_api_params['select'] = args.type - if args.type == "status": - rest_api_params['object'] = 'MonitorConf' - elif args.type == "sensor" and args.sensor: - rest_api_params['sub_type'] = args.sensor - elif args.type == "disk" and args.name: - rest_api_params['sub_type'] = args.name - else: - rest_api_params['select'] = None + rest_api_params['select'] = None return rest_api_params # end def show_mon_details