Skip to content
This repository was archived by the owner on May 13, 2024. It is now read-only.

Clarify Initialisation process#11

Open
kalabiyau wants to merge 1 commit into
psi-4ward:masterfrom
kalabiyau:patch-1
Open

Clarify Initialisation process#11
kalabiyau wants to merge 1 commit into
psi-4ward:masterfrom
kalabiyau:patch-1

Conversation

@kalabiyau
Copy link
Copy Markdown
Contributor

Can be useful to drop a line about why we have -le flag. It is clear after debug that it is to do with incomplete schema rollout. But one small comment could save next person couple of hours ;)

Can be useful to drop a line about why we have `-le` flag. It is clear after debug that it is to do with incomplete schema rollout. But one small comment could save next person couple of hours ;)
Copy link
Copy Markdown
Owner

@psi-4ward psi-4ward left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

would you like to reformulate your comment?

Comment thread entrypoint.sh
MYSQLCMD="$MYSQLCMD $MYSQL_DB"


# -le flag is used to prevent usage of incompletely applied schema
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's not correct. The SQL command returns the count of the tables and -le 1 stands for less-or-equal.
So a comment like Check if $MYSQL_DB has tabes would fit better

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants