Update Clerk comment to reflect new Put/Append RPCs

This commit is contained in:
Ananya Jain
2024-03-05 09:23:25 -05:00
parent 52bf53742e
commit f4310a86eb

View File

@@ -43,7 +43,7 @@ func (ck *Clerk) Get(key string) string {
// shared by Put and Append. // shared by Put and Append.
// //
// you can send an RPC with code like this: // you can send an RPC with code like this:
// ok := ck.servers[i].Call("KVServer.PutAppend", &args, &reply) // ok := ck.servers[i].Call("KVServer."+op, &args, &reply)
// //
// the types of args and reply (including whether they are pointers) // the types of args and reply (including whether they are pointers)
// must match the declared types of the RPC handler function's // must match the declared types of the RPC handler function's