Skip to content

Commit

Permalink
Changes wrt govet/golint suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
vkuznet committed Feb 2, 2017
1 parent 341c4ee commit ca7f556
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ import (
"github.com/vkuznet/transfer2go/utils"
)

// UserRequest represent client request to the agent
type UserRequest struct {
SrcUrl string
SrcAlias string
Expand Down
2 changes: 1 addition & 1 deletion model/catalog.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ func (c *Catalog) Add(entry CatalogEntry) error {
// get block id
stm = fmt.Sprintf("SELECT id FROM BLOCKS WHERE block=?")
rows, err = DB.Query(stm, entry.Block)
check("Unabel to DB.Query over blocks table", err)
check("Unable to DB.Query over blocks table", err)
for rows.Next() {
err = rows.Scan(&bid)
check("Unable to scan rows for datasetid", err)
Expand Down

0 comments on commit ca7f556

Please sign in to comment.