mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-07 04:56:58 +02:00
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:
parent
25883519d9
commit
18627499c1
@ -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'
|
||||
|
@ -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'
|
||||
|
Loading…
Reference in New Issue
Block a user