fix: deprecated-by => yunion:deprecated-by

This commit is contained in:
Qiu Jian
2020-04-16 23:24:56 +08:00
parent 5651805eb0
commit 98fcd1df0f
46 changed files with 162 additions and 103 deletions
+2 -2
View File
@@ -304,7 +304,7 @@ func (manager *SIdentityProviderManager) ValidateCreateData(
}
}
targetDomainStr := input.TargetDomainId
targetDomainStr := input.TargetDomain
if len(targetDomainStr) > 0 {
domain, err := DomainManager.FetchDomainById(targetDomainStr)
if err != nil {
@@ -314,7 +314,7 @@ func (manager *SIdentityProviderManager) ValidateCreateData(
return input, httperrors.NewGeneralError(err)
}
}
input.TargetDomainId = domain.Id
input.TargetDomain = domain.Id
}
var err error