Skip to content

Commit

Permalink
Merge pull request #35 from dgryski/go-vet-fixes
Browse files Browse the repository at this point in the history
Two small issues found by 'go vet'
  • Loading branch information
bradrydzewski committed Feb 10, 2014
2 parents 453caf0 + 4e9c822 commit 678e4dd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmd/drone/drone.go
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ func run(path string) {
if len(*identity) != 0 {
key, err = ioutil.ReadFile(*identity)
if err != nil {
fmt.Printf("[Error] Could not find or read identity file %s\n", identity)
fmt.Printf("[Error] Could not find or read identity file %s\n", *identity)
os.Exit(1)
return
}
Expand Down
2 changes: 1 addition & 1 deletion pkg/build/docker/image.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 678e4dd

Please sign in to comment.