From 378341b76baaa481a7d679cf1bb5111420cb208f Mon Sep 17 00:00:00 2001 From: Kai Lueke Date: Mon, 26 Sep 2022 15:36:13 +0200 Subject: [PATCH] Annotate a copied function I found a duplicate function and verified that it's the only one via comm -12 <(sort ci-automation/ci_automation_common.sh) <(sort sdk_lib/sdk_container_common.sh) | grep function I'm not sure if this is due to a case where we only import one but can't import the other, hence I'm not deleting it now. --- ci-automation/ci_automation_common.sh | 2 +- sdk_lib/sdk_container_common.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ci-automation/ci_automation_common.sh b/ci-automation/ci_automation_common.sh index 488b4d6a1c..b8c80ce0f6 100644 --- a/ci-automation/ci_automation_common.sh +++ b/ci-automation/ci_automation_common.sh @@ -161,7 +161,7 @@ function image_exists_locally() { # -- # Derive docker-safe image version string from vernum. -# +# Keep in sync with sdk_lib/sdk_container_common.sh function vernum_to_docker_image_version() { local vernum="$1" echo "$vernum" | sed 's/[+]/-/g' diff --git a/sdk_lib/sdk_container_common.sh b/sdk_lib/sdk_container_common.sh index e8fd718bff..788b0bbef1 100644 --- a/sdk_lib/sdk_container_common.sh +++ b/sdk_lib/sdk_container_common.sh @@ -134,7 +134,7 @@ function strip_version_prefix() { # -- # Derive docker-safe image version string from vernum. -# +# Keep in sync with ci-automation/ci_automation_common.sh function vernum_to_docker_image_version() { local vernum="$1" echo "$vernum" | sed 's/[+]/-/g'