From dc531dc8151ac68b1eaa93bfd04258c02305478d Mon Sep 17 00:00:00 2001 From: Eric MacDonald Date: Thu, 22 Nov 2018 10:25:55 -0500 Subject: [PATCH] Fix mtce guest build failure A recent update to stx-metal/mtce-common removed a daemon_config structure member that the stx-nfv/mtce-guest git depends on. This was not detected during UT of the mtc-common change because of a missing build dependency that should force a rebuild of the mtce guest. Delivering the code fix to unblock the community. Will deliver the build dependency change shortly. Change-Id: Ice08424f156ffc84e38651fbc40ebc184170eb20 Closes-Bug: 1804579 Signed-off-by: Eric MacDonald --- mtce-common/centos/build_srpm.data | 2 +- mtce-common/src/common/logMacros.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/mtce-common/centos/build_srpm.data b/mtce-common/centos/build_srpm.data index f8556950..a6783bd5 100644 --- a/mtce-common/centos/build_srpm.data +++ b/mtce-common/centos/build_srpm.data @@ -1,3 +1,3 @@ SRC_DIR="src" -TIS_PATCH_VER=139 +TIS_PATCH_VER=140 BUILD_IS_SLOW=5 diff --git a/mtce-common/src/common/logMacros.h b/mtce-common/src/common/logMacros.h index b9e124d1..8d73fe1c 100644 --- a/mtce-common/src/common/logMacros.h +++ b/mtce-common/src/common/logMacros.h @@ -39,6 +39,7 @@ typedef struct { int scheduling_priority ; /**< Scheduling priority of this daemon */ bool active ; /**< Maintenance activity state true|false */ + int hbs_pulse_period ; /**< time (msec) between heartbeat requests */ int token_refresh_rate ; /**< token refresh rate in seconds */ int hbs_minor_threshold ; /**< heartbeat miss minor threshold */ int hbs_degrade_threshold ; /**< heartbeat miss degrade threshold */