Rename NewREST -> NewStorage to align on terminology

This commit is contained in:
Clayton Coleman
2015-03-21 12:32:31 -04:00
parent 5a3f0adbcc
commit 9bb797fe93
21 changed files with 100 additions and 100 deletions

View File

@@ -35,9 +35,9 @@ type REST struct {
registry generic.Registry
}
// NewREST returns a new REST. You must use a registry created by
// NewStorage returns a new REST. You must use a registry created by
// NewEtcdRegistry unless you're testing.
func NewREST(registry generic.Registry) *REST {
func NewStorage(registry generic.Registry) *REST {
return &REST{
registry: registry,
}