Use getKey() for updatePartial().

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5809 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2009-05-29 19:14:34 +00:00
parent f565fa0e42
commit ae6535583a
@@ -74,9 +74,8 @@ public class NodeRepository extends DepotRepository
*/
public void heartbeatNode (String nodeName)
{
updatePartial(NodeRecord.class, nodeName, new Object[] {
NodeRecord.LAST_UPDATED, new Timestamp(System.currentTimeMillis())
});
updatePartial(NodeRecord.getKey(nodeName),
NodeRecord.LAST_UPDATED, new Timestamp(System.currentTimeMillis()));
}
/**