Skip to content

Commit

Permalink
So far we got
Browse files Browse the repository at this point in the history
  • Loading branch information
majst01 committed Aug 20, 2023
1 parent 7626a04 commit 911e852
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/internal/database/postgres/postgres.go
Original file line number Diff line number Diff line change
Expand Up @@ -307,6 +307,7 @@ func (db *Postgres) Upgrade() error {
cmd = exec.Command("mv", path.Join(newDataDirTemp, "*"), db.datadir) //nolint:gosec
out, err = cmd.CombinedOutput()
if err != nil {
// mv: can't rename '/data/postgres-new/*': No such file or
return fmt.Errorf("unable to copy upgraded datadir to destination, output:%q error %w", string(out), err)
}

Expand Down

0 comments on commit 911e852

Please sign in to comment.