Przeglądaj źródła

Fix incorrect comment

Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
Mrunal Patel 10 lat temu
rodzic
commit
d626f77e36
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      api/server/copy.go

+ 1 - 1
api/server/copy.go

@@ -13,7 +13,7 @@ import (
 	"github.com/docker/docker/pkg/version"
 	"github.com/docker/docker/pkg/version"
 )
 )
 
 
-// postContainersCopy is deprecated in favor of getContainersArchivePath.
+// postContainersCopy is deprecated in favor of getContainersArchive.
 func (s *Server) postContainersCopy(version version.Version, w http.ResponseWriter, r *http.Request, vars map[string]string) error {
 func (s *Server) postContainersCopy(version version.Version, w http.ResponseWriter, r *http.Request, vars map[string]string) error {
 	if vars == nil {
 	if vars == nil {
 		return fmt.Errorf("Missing parameter")
 		return fmt.Errorf("Missing parameter")