Skip to content

Commit

Permalink
Pull 1
Browse files Browse the repository at this point in the history
  • Loading branch information
kjohn-msft committed Oct 30, 2023
1 parent b50ef62 commit d8a3fd5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/core/src/core_logic/ExecutionConfig.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ def __init__(self, env_layer, composite_logger, execution_parameters):
self.included_package_name_mask_list = self.__get_execution_configuration_value_safely(self.config_settings, Constants.ConfigSettings.PATCHES_TO_INCLUDE, [])
self.excluded_package_name_mask_list = self.__get_execution_configuration_value_safely(self.config_settings, Constants.ConfigSettings.PATCHES_TO_EXCLUDE, [])
self.maintenance_run_id = self.__get_execution_configuration_value_safely(self.config_settings, Constants.ConfigSettings.MAINTENANCE_RUN_ID)
self.max_patch_publish_date = self.
self.health_store_id = self.__get_execution_configuration_value_safely(self.config_settings, Constants.ConfigSettings.HEALTH_STORE_ID)
if self.operation == Constants.INSTALLATION:
self.reboot_setting = self.config_settings[Constants.ConfigSettings.REBOOT_SETTING] # expected to throw if not present
Expand Down Expand Up @@ -99,6 +100,9 @@ def __transform_execution_config_for_auto_assessment(self):
self.patch_mode = None
self.composite_logger.log_debug("Setting execution configuration values for auto assessment. [GeneratedActivityId={0}][StartTime={1}]".format(self.activity_id, str(self.start_time)))

def __get_max_patch_publish_date(self, maintenance_run_id):
return maintenance_run_id

@staticmethod
def __get_value_from_argv(argv, key, default_value=Constants.DEFAULT_UNSPECIFIED_VALUE):
""" Discovers the value associated with a specific parameter in input arguments. """
Expand Down

0 comments on commit d8a3fd5

Please sign in to comment.