rebrand oc-datacenter in oc-compute
This commit is contained in:
@@ -17,8 +17,8 @@ func (g *Graph) GetResource(id string) (string, utils.DBObject) {
|
||||
if item, ok := g.Items[id]; ok {
|
||||
if item.Data != nil {
|
||||
return tools.DATA_RESOURCE.String(), item.Data
|
||||
} else if item.Datacenter != nil {
|
||||
return tools.DATACENTER_RESOURCE.String(), item.Datacenter
|
||||
} else if item.Compute != nil {
|
||||
return tools.COMPUTE_RESOURCE.String(), item.Compute
|
||||
} else if item.Workflow != nil {
|
||||
return tools.WORKFLOW_RESOURCE.String(), item.Workflow
|
||||
} else if item.Processing != nil {
|
||||
|
Reference in New Issue
Block a user