This repository has been archived by the owner on Dec 7, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 226
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ps: Avoid error when the storage is uninitialized
Running ignite ps for the first time on a new machine fails with: ``` FATA[0000] open /var/lib/firecracker/vm: no such file or directory ``` This change handles the error returned when the backend storage is uninitialized. NewPsOptions() returns an empty list of VMs and allows the ps execution to continue without any error.
- Loading branch information
Showing
2 changed files
with
32 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters