Skip to content

Commit

Permalink
[Backend] Minor fix: namespace not found in SelectNamespaceFromName
Browse files Browse the repository at this point in the history
  • Loading branch information
synw committed Oct 4, 2020
1 parent eee8bfb commit 84e06d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion quidlib/server/db/namespace.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ func SelectNamespaceFromName(name string) (bool, server.Namespace, error) {
err := row.StructScan(&data)
if err != nil {
if err == sql.ErrNoRows {
return false, ns, err
return false, ns, nil
}
return true, ns, err
}
Expand Down

0 comments on commit 84e06d7

Please sign in to comment.