Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
majst01 committed Aug 20, 2023
1 parent 7fffe17 commit 62aa057
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/internal/database/postgres/postgres.go
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ func (db *Postgres) Upgrade() error {

// mkdir /data/postgres-new
newDataDirTemp := path.Join("/data", "postgres-new")
err = os.MkdirAll(newDataDirTemp, fs.ModePerm)
err = os.Mkdir(newDataDirTemp, 0700)
if err != nil {
db.log.Infow("unable to create new datadir, skipping upgrade", "error", err)
return nil
Expand Down

0 comments on commit 62aa057

Please sign in to comment.