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 4176f7dd9c
commit 1f4cf5bdb6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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'),