diff options
author | Timotej S <6674623+underhood@users.noreply.github.com> | 2022-03-01 13:58:32 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-01 13:58:32 +0100 |
commit | 3e1fa32e5c9081d2630d4d964bfa811f0f270f55 (patch) | |
tree | e240fef861342afbe2f1c38ed2f9b07b14dd9a58 | |
parent | 61681f7be607455056847c3480d405f03a4b8450 (diff) |
add host labels _aclk_ng_new_cloud_protocol (#12278)
-rw-r--r-- | aclk/aclk_api.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/aclk/aclk_api.c b/aclk/aclk_api.c index 172cf29827..766f78053a 100644 --- a/aclk/aclk_api.c +++ b/aclk/aclk_api.c @@ -70,6 +70,11 @@ struct label *add_aclk_host_labels(struct label *label) { label = add_label_to_list(label, "_aclk_impl", "Next Generation", LABEL_SOURCE_AUTO); label = add_label_to_list(label, "_aclk_proxy", proxy_str, LABEL_SOURCE_AUTO); +#ifdef ENABLE_NEW_CLOUD_PROTOCOL + label = add_label_to_list(label, "_aclk_ng_new_cloud_protocol", "true", LABEL_SOURCE_AUTO); +#else + label = add_label_to_list(label, "_aclk_ng_new_cloud_protocol", "false", LABEL_SOURCE_AUTO); +#endif #endif return label; } |