From 60acd283d3cf322a8e66b22930007341d0d6e453 Mon Sep 17 00:00:00 2001 From: Takeshi Nakatani Date: Thu, 26 Sep 2019 14:12:26 +0900 Subject: [PATCH] Initial commit --- Dockerfile | 4 ++-- k2hr3-k8s-init.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 5a0c930..93d8c5d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -21,8 +21,8 @@ FROM docker.io/alpine:3.9.4 MAINTAINER antpickax -LABEL description "K2HR3 Container Registration Sidecar" \ - maintainer="antpickax " +LABEL description="K2HR3 Container Registration Sidecar" +LABEL maintainer="antpickax " COPY k2hr3-k8s-init.sh /usr/local/bin/ diff --git a/k2hr3-k8s-init.sh b/k2hr3-k8s-init.sh index 663e258..4a1919e 100755 --- a/k2hr3-k8s-init.sh +++ b/k2hr3-k8s-init.sh @@ -334,7 +334,7 @@ if [ "X${K2HR3_BEHAVIOR}" = "Xreg" ]; then K2HR3_POD_ID=${K2HR3_TMP_POD_ID} else if [ "X${K2HR3_POD_ID}" != "X${K2HR3_TMP_POD_ID}" ]; then - echo "[WARNING] ${PRGNAME} : Specified pod id(${K2HR3_POD_ID}) is not correct, so that use corrent pod id(${K2HR3_TMP_POD_ID}) instead of it." 1>&2 + echo "[WARNING] ${PRGNAME} : Specified pod id(${K2HR3_POD_ID}) is not correct, so that use current pod id(${K2HR3_TMP_POD_ID}) instead of it." 1>&2 K2HR3_POD_ID=${K2HR3_TMP_POD_ID} fi fi