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:
Fabi
2022-03-24 16:21:34 +00:00
committed by GitHub
co-authored by Livio Amstutz
parent 504fe5b761
commit 9d4f296c62
274 changed files with 12073 additions and 11853 deletions
+2 -2
View File
@@ -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)