diff --git a/mtce-common/centos/build_srpm.data b/mtce-common/centos/build_srpm.data index d872dde9..01e786b1 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=141 +TIS_PATCH_VER=142 BUILD_IS_SLOW=5 diff --git a/mtce-common/src/common/jsonUtil.cpp b/mtce-common/src/common/jsonUtil.cpp index cb8d6536..aafc20c9 100644 --- a/mtce-common/src/common/jsonUtil.cpp +++ b/mtce-common/src/common/jsonUtil.cpp @@ -847,7 +847,7 @@ int jsonApi_auth_load ( string & hostname, { tuple_obj = _json_object_array_get_idx (svccat_obj, i); entity = _json_get_key_value_string ( tuple_obj, MTC_JSON_AUTH_TYPE ); - if ( entity == MTC_JSON_AUTH_COMP ) + if ( entity == MTC_JSON_AUTH_PLATFORM) { found_type = true ; break ; diff --git a/mtce-common/src/common/jsonUtil.h b/mtce-common/src/common/jsonUtil.h index 79be85a4..1786df3c 100644 --- a/mtce-common/src/common/jsonUtil.h +++ b/mtce-common/src/common/jsonUtil.h @@ -40,7 +40,7 @@ typedef struct #define MTC_JSON_AUTH_ISSUE "issued_at" #define MTC_JSON_AUTH_EXPIRE "expires_at" #define MTC_JSON_AUTH_ID "X-Subject-Token" -#define MTC_JSON_AUTH_COMP "compute" +#define MTC_JSON_AUTH_PLATFORM "platform" #define MTC_JSON_AUTH_INTERFACE "interface" /** looking for admin */ #define MTC_JSON_AUTH_ADMIN "admin"