missing instanceID
This commit is contained in:
@@ -108,6 +108,9 @@ func generate(request *tools.APIRequest, shallow bool) (*Planner, error) {
|
||||
}
|
||||
|
||||
instanceID, usage, cap := extractSlotData(bk, request)
|
||||
if instanceID == "" {
|
||||
instanceID = bk.InstanceID
|
||||
}
|
||||
|
||||
if cap != nil && instanceID != "" {
|
||||
if p.Capacities[bk.ResourceID] == nil {
|
||||
|
||||
Reference in New Issue
Block a user