parent
e7781b8f65
commit
a2ffaa73b5
1
http.go
1
http.go
|
@ -269,7 +269,6 @@ func Serve(actors map[string]Actor) {
|
||||||
case "Create":
|
case "Create":
|
||||||
actor, ok := actors[mux.Vars(r)["actor"]] // load the actor from memory
|
actor, ok := actors[mux.Vars(r)["actor"]] // load the actor from memory
|
||||||
if !ok {
|
if !ok {
|
||||||
// log.Error(actors)
|
|
||||||
log.Error("No such actor: " + mux.Vars(r)["actor"])
|
log.Error("No such actor: " + mux.Vars(r)["actor"])
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue