mirror of
https://github.com/andwati/zitadel.git
synced 2026-11-25 13:58:46 +00:00
fix: rename iam to instance (#3345)
* fix: rename iam command side to instance * fix: rename iam command side to instance * fix: rename iam command side to instance * fix: rename iam command side to instance * fix: rename orgiampolicy to domain policy * fix: merge conflicts * fix: protos * fix: md files * implement deprecated org iam policy again Co-authored-by: Livio Amstutz <[email protected]>
This commit is contained in:
@@ -14,7 +14,7 @@ import (
|
||||
func Execute(ctx context.Context, setUpConfig IAMSetUp, iamID string, commands *command.Commands) error {
|
||||
logging.Log("SETUP-JAK2q").Info("starting setup")
|
||||
|
||||
iam, err := commands.GetIAM(ctx)
|
||||
iam, err := commands.GetInstance(ctx)
|
||||
if err != nil && !caos_errs.IsNotFound(err) {
|
||||
return err
|
||||
}
|
||||
@@ -24,7 +24,7 @@ func Execute(ctx context.Context, setUpConfig IAMSetUp, iamID string, commands *
|
||||
}
|
||||
|
||||
if iam == nil {
|
||||
iam = &domain.IAM{ObjectRoot: models.ObjectRoot{AggregateID: iamID}}
|
||||
iam = &domain.Instance{ObjectRoot: models.ObjectRoot{AggregateID: iamID}}
|
||||
}
|
||||
|
||||
steps, err := setUpConfig.Steps(iam.SetUpDone)
|
||||
|
||||
Reference in New Issue
Block a user