Two small issues found by 'go vet'

This commit is contained in:
Damian Gryski
2014-02-10 12:49:12 +01:00
parent 453caf033d
commit 4e9c822ce8
2 changed files with 2 additions and 2 deletions

View File

@@ -59,7 +59,7 @@ func (c *ImageService) List() ([]*Images, error) {
// Create an image, either by pull it from the registry or by importing it.
func (c *ImageService) Create(image string) error {
return c.do("POST", fmt.Sprintf("/images/create?fromImage=%s"), nil, nil)
return c.do("POST", fmt.Sprintf("/images/create?fromImage=%s", image), nil, nil)
}
func (c *ImageService) Pull(image string) error {