aboutsummaryrefslogtreecommitdiffstats
path: root/src/orchestrator/pkg/module/add_intents.go
diff options
context:
space:
mode:
authorRajamohan Raj <rajamohan.raj@intel.com>2020-06-03 20:57:11 +0000
committerRajamohan Raj <rajamohan.raj@intel.com>2020-06-05 20:56:04 +0000
commit82ec0fbda9ab2090fea542403221be853332e003 (patch)
treed3de7d9e406886b4ef82a098a00fb9fe096cab9e /src/orchestrator/pkg/module/add_intents.go
parente80f462ab1621090dd9cf7a2c648eb168aaafa5e (diff)
Implement Priority Based Controller list
As part of this patch, have implemented a priorityQueue based contoller list which shall contain placement contollers and action contollers listed based on their priority. Issue-ID: MULTICLOUD-1064 Signed-off-by: Rajamohan Raj <rajamohan.raj@intel.com> Change-Id: Id1beac6e3b6ec5156f64a169042d171ff28e38d6
Diffstat (limited to 'src/orchestrator/pkg/module/add_intents.go')
-rw-r--r--src/orchestrator/pkg/module/add_intents.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/orchestrator/pkg/module/add_intents.go b/src/orchestrator/pkg/module/add_intents.go
index 89bf255f..9c47863a 100644
--- a/src/orchestrator/pkg/module/add_intents.go
+++ b/src/orchestrator/pkg/module/add_intents.go
@@ -224,7 +224,6 @@ func (c IntentClient) GetAllIntents(p string, ca string, v string, di string) (L
if err != nil {
return ListOfIntents{}, pkgerrors.Wrap(err, "Unmarshalling Intent")
}
- //mapOfIntents := ListOfIntents{a.Spec.Intent.ListOfIntents}
listOfMapOfIntents = append(listOfMapOfIntents, a.Spec.Intent)
}
return ListOfIntents{listOfMapOfIntents}, nil