Skip to content
This repository has been archived by the owner on Dec 7, 2023. It is now read-only.

ps: Handle error when the backend storage is uninitialized #778

Merged
merged 1 commit into from
Feb 8, 2021

Commits on Feb 6, 2021

  1. 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.
    darkowlzz committed Feb 6, 2021
    Configuration menu
    Copy the full SHA
    6f16174 View commit details
    Browse the repository at this point in the history