Skip to content

Commit

Permalink
fix bug #471, database directory can be wrongly created
Browse files Browse the repository at this point in the history
  • Loading branch information
emmaloubersac committed Feb 23, 2023
1 parent f6eef14 commit 5854eab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cluster/srv_get.go
Original file line number Diff line number Diff line change
Expand Up @@ -618,7 +618,7 @@ func (server *ServerMonitor) GetDatabaseBasedir() string {
} else if server.ClusterGroup.Conf.ProvOrchestrator == config.ConstOrchestratorSlapOS {
return server.SlapOSDatadir
}
return ""
return server.Datadir
}

func (server *ServerMonitor) GetTablePK(schema string, table string) (string, error) {
Expand Down

0 comments on commit 5854eab

Please sign in to comment.