-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
When performing a scan, the cache database is not created in a predictable manner. By default, it should be found at /tmp/$USER/magellan/assets.db when the --cache flag is not set.
To Reproduce
Steps to reproduce the behavior:
- Clone and build from
mainbranch - Run command (used with emulator):
magellan scan --subnet 172.21.0.0/24 --port 5000 --include=bmcs -l debug
Expected behavior
An SQLite database should be created in the default location with the reproducible steps above. The database should only not be created when the disable-cache flag is set.
Check the default cache location with ls /tmp/$USER/magellan after running steps to reproduce. You should see a assets.db file there.
Additional context
The cache database is strangely created only when setting the -F format flag.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working