Skip to content

Commit

Permalink
fix getLxds
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentius15 committed Aug 1, 2018
1 parent b8cc340 commit 67431b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lxd.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ func getLxds(db *sqlx.DB) ([]lxd, error) {
return nil, err
}

if rows.Next() {
for rows.Next() {
var temp lxd
err = rows.StructScan(&temp)
if err != nil {
Expand Down

0 comments on commit 67431b1

Please sign in to comment.