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.
This commit is contained in:
Kai Lueke 2022-09-26 15:36:13 +02:00
parent 25883519d9
commit 18627499c1
2 changed files with 2 additions and 2 deletions

View File

@ -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'

View File

@ -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'