Add todo
This commit is contained in:
parent
a1d8b4e334
commit
1bc3fc85ab
|
@ -43,7 +43,7 @@ func (d *PostgresDumper) Dump() error {
|
||||||
|
|
||||||
connStr := fmt.Sprintf("postgresql://%s:%s@%s:%s/%s", user, pw, host, port, db)
|
connStr := fmt.Sprintf("postgresql://%s:%s@%s:%s/%s", user, pw, host, port, db)
|
||||||
|
|
||||||
// TODO: Check postgres image version and use the correct pg_dump
|
// TODO: Check postgres image version and use the correct pg_dump --> Test!
|
||||||
|
|
||||||
return runAndSaveCommand(getDumpFilename(d.Container.Name), "pg_dump", "--dbname", connStr)
|
return runAndSaveCommand(getDumpFilename(d.Container.Name), "pg_dump", "--dbname", connStr)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue