Small fixes in console print-outs (#3735)

* Small fixes in console print-outs

* Update chart version, it was incremented since the PR
This commit is contained in:
Kai Chen
2018-02-22 11:49:43 -08:00
committed by k8s-ci-robot
parent 70f25772f4
commit f81f0fa6f1
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
apiVersion: v1
description: Modular and transparent LAMP stack chart supporting PHP-FPM, Release Cloning, LoadBalancer, Ingress, SSL and lots more!
name: lamp
version: 0.1.1
version: 0.1.2
home: https://github.com/lead4good/helm-lamp-stack
maintainers:
- name: lead4good
+1 -1
View File
@@ -5,7 +5,7 @@ export DBDIR=/data/db
export CLONEWEBDIR=/clone_data/web
export CLONEDBDIR=/clone_data/db
if [ -n "$(ls -A $WEBDIR)" ]; then
echo "Pod allready initialized, continuing..."
echo "Pod already initialized, continuing..."
else
xtrabackup -uroot -p"$MYSQL_ROOT_PASSWORD" -H$MYSQL_HOST -h $CLONEDBDIR --backup --target-dir=$DBDIR
+1 -1
View File
@@ -48,7 +48,7 @@ function init_from_backup
}
if [ -e "$WEBDIR/db_clone_initialized" ]; then
echo "Pod allready initialized, continuing..."
echo "Pod already initialized, continuing..."
else
init_from_backup
touch "$WEBDIR/db_clone_initialized"
+1 -1
View File
@@ -174,7 +174,7 @@ function init_from_backup
}
if [ -e "$WEBDIR/db_initialized" ]; then
echo "DB allready initialized, continuing..."
echo "DB already initialized, continuing..."
else
if [ -z "$CLONE_INIT" ]; then
init_from_sql