Modify improper comments in api/server/router/volume/volume.go
| ... | ... |
@@ -5,13 +5,13 @@ import ( |
| 5 | 5 |
"github.com/docker/docker/api/server/router/local" |
| 6 | 6 |
) |
| 7 | 7 |
|
| 8 |
-// volumesRouter is a router to talk with the volumes controller |
|
| 8 |
+// volumeRouter is a router to talk with the volumes controller |
|
| 9 | 9 |
type volumeRouter struct {
|
| 10 | 10 |
backend Backend |
| 11 | 11 |
routes []router.Route |
| 12 | 12 |
} |
| 13 | 13 |
|
| 14 |
-// NewRouter initializes a new volumes router |
|
| 14 |
+// NewRouter initializes a new volumeRouter |
|
| 15 | 15 |
func NewRouter(b Backend) router.Router {
|
| 16 | 16 |
r := &volumeRouter{
|
| 17 | 17 |
backend: b, |