fix: 修正项目映射同步

This commit is contained in:
Qu Xuan
2020-06-23 15:13:01 +08:00
parent 8d81393c03
commit 4b16fac0ba
23 changed files with 609 additions and 174 deletions
+6 -2
View File
@@ -14,7 +14,11 @@
package openstack
import "yunion.io/x/jsonutils"
import (
"yunion.io/x/jsonutils"
api "yunion.io/x/onecloud/pkg/apis/compute"
)
type SProject struct {
Description string
@@ -40,7 +44,7 @@ func (p *SProject) GetName() string {
}
func (p *SProject) GetStatus() string {
return ""
return api.EXTERNAL_PROJECT_STATUS_AVAILABLE
}
func (p *SProject) IsEmulated() bool {