[Swift-commit] cog r3495

swift at ci.uchicago.edu swift at ci.uchicago.edu
Sun Oct 28 21:40:04 CDT 2012


------------------------------------------------------------------------
r3495 | hategan | 2012-10-28 21:38:23 -0500 (Sun, 28 Oct 2012) | 1 line

fixed warning about submitted status for unknown job
------------------------------------------------------------------------
Index: modules/provider-coaster-c-client/src/CoasterClient.cpp
===================================================================
--- modules/provider-coaster-c-client/src/CoasterClient.cpp	(revision 3494)
+++ modules/provider-coaster-c-client/src/CoasterClient.cpp	(working copy)
@@ -161,7 +161,7 @@
 		string* remoteId = jsc->getRemoteId();
 		LogInfo << "Job " << jsc->getJob()->getIdentity() << " submitted; remoteId: " << remoteId << endl;
 		remoteJobIdMapping[*remoteId] = &jsc->getJob()->getIdentity();
-		updateJobStatus(jsc->getJob()->getIdentity(), new JobStatus(SUBMITTED));
+		updateJobStatus(*remoteId, new JobStatus(SUBMITTED));
 	}
 	delete cmd;
 }



More information about the Swift-commit mailing list