Encode/decode working everywhere now.

This commit is contained in:
Daniel Smith
2014-06-20 16:50:56 -07:00
parent 14361e336a
commit 41534c1cc5
14 changed files with 98 additions and 104 deletions

View File

@@ -99,7 +99,7 @@ func (sr *ServiceRegistryStorage) Delete(id string) (<-chan interface{}, error)
}
}
}
return apiserver.MakeAsync(func() interface{} { return apiserver.Status{Success: true} }), sr.registry.DeleteService(id)
return apiserver.MakeAsync(func() interface{} { return api.Status{Status: api.StatusSuccess} }), sr.registry.DeleteService(id)
}
func (sr *ServiceRegistryStorage) Extract(body []byte) (interface{}, error) {