mirror of
https://github.com/portainer/portainer.git
synced 2025-08-02 20:35:25 +02:00
Display error message if database is for Portainer BE (#4557)
This commit is contained in:
parent
cc9dd55b5c
commit
b9cad8a7ea
5 changed files with 88 additions and 2 deletions
|
@ -375,6 +375,10 @@ func main() {
|
|||
dataStore := initDataStore(*flags.Data, fileService)
|
||||
defer dataStore.Close()
|
||||
|
||||
if err := dataStore.CheckCurrentEdition(); err != nil {
|
||||
log.Fatal(err)
|
||||
}
|
||||
|
||||
jwtService, err := initJWTService(dataStore)
|
||||
if err != nil {
|
||||
log.Fatal(err)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue