mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
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
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue