inspect search bug

This commit is contained in:
mr
2025-01-17 10:07:37 +01:00
parent 7d11c23eba
commit b990fe42d3
4 changed files with 7 additions and 12 deletions

View File

@@ -19,7 +19,7 @@ import (
type ComputeResource struct {
AbstractIntanciatedResource[*ComputeResourceInstance]
Architecture string `json:"architecture,omitempty" bson:"architecture,omitempty"` // Architecture is the architecture
Infrastructure enum.InfrastructureType `json:"infrastructure,omitempty" bson:"infrastructure,omitempty"`
Infrastructure enum.InfrastructureType `json:"infrastructure" bson:"infrastructure" default:"-1"` // Infrastructure is the infrastructure
}
func (d *ComputeResource) GetAccessor(request *tools.APIRequest) utils.Accessor {