Fixes config not being sent causing updater to crash
This commit is contained in:
parent
9f018ecac7
commit
8b4dc44679
@ -141,9 +141,11 @@ public class delegationServices {
|
|||||||
BasicDBObject updateQuery6 = new BasicDBObject();
|
BasicDBObject updateQuery6 = new BasicDBObject();
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
|
||||||
Document LCP = RGFilter.find(eq("rgkey", "UAROCKS")).first();
|
Document LCP = RGFilter.find(eq("rgkey", "UAROCKS")).first();
|
||||||
String UPDT =(String)LCP.get("UURI");
|
String UPDT =(String)LCP.get("UURI");
|
||||||
String config = (String)LCP.get("config");
|
String config = (String)LCP.get("config");
|
||||||
|
System.out.println("ThisIsConfig " + config);
|
||||||
updateQuery.append("$set",
|
updateQuery.append("$set",
|
||||||
new BasicDBObject().append("type", 42));
|
new BasicDBObject().append("type", 42));
|
||||||
updateQuery2.append("$set",
|
updateQuery2.append("$set",
|
||||||
@ -164,6 +166,7 @@ public class delegationServices {
|
|||||||
}
|
}
|
||||||
dCollection.updateOne(SqS, updateQuery);
|
dCollection.updateOne(SqS, updateQuery);
|
||||||
dCollection.updateOne(SqS,updateQuery2);
|
dCollection.updateOne(SqS,updateQuery2);
|
||||||
|
dCollection.updateOne(SqS,updateQuery3);
|
||||||
dCollection.updateOne(SqS, updateQuery6);
|
dCollection.updateOne(SqS, updateQuery6);
|
||||||
System.out.println("Finished Updater Request");
|
System.out.println("Finished Updater Request");
|
||||||
delegationTimer.DeleteTargetRequest(ClientID);
|
delegationTimer.DeleteTargetRequest(ClientID);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user