mirror of
https://github.com/davidallendj/magellan.git
synced 2025-12-20 03:27:03 -07:00
Minor changes and fixes
This commit is contained in:
parent
6bf9035d96
commit
b873613939
4 changed files with 17 additions and 6 deletions
|
|
@ -18,6 +18,7 @@ func CreateProbeResultsIfNotExists(path string) (*sqlx.DB, error) {
|
|||
PRIMARY KEY (host, port)
|
||||
);
|
||||
`
|
||||
// TODO: it may help with debugging to check for file permissions here first
|
||||
db, err := sqlx.Open("sqlite3", path)
|
||||
if err != nil {
|
||||
return nil, fmt.Errorf("could not open database: %v", err)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue