Convert mysql port to int in wait script

Change-Id: I02361fd1de5d541e2c8e175c2fe1886724670522
This commit is contained in:
Dobroslaw Zybort 2019-03-14 13:57:04 +01:00
parent a9110d815c
commit 7fb362200b
1 changed files with 1 additions and 1 deletions

View File

@ -61,7 +61,7 @@ logging.basicConfig(level=LOG_LEVEL)
logger = logging.getLogger(__name__)
MYSQL_HOST = os.environ.get('MYSQL_HOST', 'mysql')
MYSQL_PORT = os.environ.get('MYSQL_PORT', 3306)
MYSQL_PORT = int(os.environ.get('MYSQL_PORT', 3306))
MYSQL_USER = os.environ.get('MYSQL_USER', 'monapi')
MYSQL_PASSWORD = os.environ.get('MYSQL_PASSWORD', 'password')
MYSQL_DB = os.environ.get('MYSQL_DB', 'mon')