mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-19 10:46:58 +08:00
fix: deprecated-by => yunion:deprecated-by
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user