mirror of https://github.com/docker/docs.git
Modify improper comments in api/server/router/volume/volume.go
Signed-off-by: Shuwei Hao <haoshuwei24@gmail.com>
This commit is contained in:
parent
342e6bb99f
commit
6efa10f668
|
@ -5,13 +5,13 @@ import (
|
||||||
"github.com/docker/docker/api/server/router/local"
|
"github.com/docker/docker/api/server/router/local"
|
||||||
)
|
)
|
||||||
|
|
||||||
// volumesRouter is a router to talk with the volumes controller
|
// volumeRouter is a router to talk with the volumes controller
|
||||||
type volumeRouter struct {
|
type volumeRouter struct {
|
||||||
backend Backend
|
backend Backend
|
||||||
routes []router.Route
|
routes []router.Route
|
||||||
}
|
}
|
||||||
|
|
||||||
// NewRouter initializes a new volumes router
|
// NewRouter initializes a new volumeRouter
|
||||||
func NewRouter(b Backend) router.Router {
|
func NewRouter(b Backend) router.Router {
|
||||||
r := &volumeRouter{
|
r := &volumeRouter{
|
||||||
backend: b,
|
backend: b,
|
||||||
|
|
Loading…
Reference in New Issue