Fix flyway invocation in Gradle script (#993)

* Fix flyway invocation in Gradle script

Script wrongly assumed that Flyway task is invoked if --environment is
set.

Bug was introduced in go/r3pr/940
This commit is contained in:
Weimin Yu 2021-03-08 13:59:28 -05:00 committed by GitHub
parent f29219cbb7
commit 1fa57de5ac
2 changed files with 12 additions and 12 deletions

View file

@ -111,8 +111,9 @@ PROPERTIES = [
# Cloud SQL properties
Property('dbServer',
'The host[:port] of a database that accepts direct IP access. '
'This is typically used with a testing database.'),
'Sets the target database of a Flyway task. This may be a '
'registry environment name (e.g., alpha) or the host[:port] '
'of a database that accepts direct IP access.'),
Property('dbName',
'Database name to use in connection.',
'postgres'),