mirror of
https://github.com/andwati/zitadel.git
synced 2026-11-12 00:55:12 +00:00
fix: start grpc gateway/server
This commit is contained in:
+4
-2
@@ -2,10 +2,10 @@ package admin
|
||||
|
||||
import (
|
||||
"context"
|
||||
"github.com/caos/logging"
|
||||
|
||||
app "github.com/caos/zitadel/internal/admin"
|
||||
"github.com/caos/zitadel/internal/api/auth"
|
||||
"github.com/caos/zitadel/internal/errors"
|
||||
"github.com/caos/zitadel/pkg/admin/api"
|
||||
)
|
||||
|
||||
@@ -15,5 +15,7 @@ type Config struct {
|
||||
}
|
||||
|
||||
func Start(ctx context.Context, config Config, authZ auth.Config) error {
|
||||
return errors.ThrowUnimplemented(nil, "ADMIN-n8vw5", "not implemented yet") //TODO: implement
|
||||
err := api.Start(ctx, config.API)
|
||||
logging.Log("MAIN-lfo5h").OnError(err).Panic("unable to start api")
|
||||
return err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user