Commit b8b54cb6 authored by Ellis Michael's avatar Ellis Michael

Removing extra newlines

parent d1b1f6b8
...@@ -40,4 +40,3 @@ type GetReply struct { ...@@ -40,4 +40,3 @@ type GetReply struct {
Err Err Err Err
Value string Value string
} }
...@@ -17,7 +17,6 @@ import "shardmaster" ...@@ -17,7 +17,6 @@ import "shardmaster"
import "io/ioutil" import "io/ioutil"
import "strconv" import "strconv"
const Debug = 0 const Debug = 0
func DPrintf(format string, a ...interface{}) (n int, err error) { func DPrintf(format string, a ...interface{}) (n int, err error) {
...@@ -27,12 +26,10 @@ func DPrintf(format string, a ...interface{}) (n int, err error) { ...@@ -27,12 +26,10 @@ func DPrintf(format string, a ...interface{}) (n int, err error) {
return return
} }
type Op struct { type Op struct {
// Your definitions here. // Your definitions here.
} }
type DisKV struct { type DisKV struct {
mu sync.Mutex mu sync.Mutex
l net.Listener l net.Listener
...@@ -138,7 +135,6 @@ func (kv *DisKV) fileReplaceShard(shard int, m map[string]string) { ...@@ -138,7 +135,6 @@ func (kv *DisKV) fileReplaceShard(shard int, m map[string]string) {
} }
} }
func (kv *DisKV) Get(args *GetArgs, reply *GetReply) error { func (kv *DisKV) Get(args *GetArgs, reply *GetReply) error {
// Your code here. // Your code here.
return nil return nil
...@@ -222,8 +218,6 @@ func StartServer(gid int64, shardmasters []string, ...@@ -222,8 +218,6 @@ func StartServer(gid int64, shardmasters []string,
// log.SetOutput(os.Stdout) // log.SetOutput(os.Stdout)
os.Remove(servers[me]) os.Remove(servers[me])
l, e := net.Listen("unix", servers[me]) l, e := net.Listen("unix", servers[me])
if e != nil { if e != nil {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment