Skip to content

Commit 7837f15

Browse files
Gabriel Ionescuacatangiu
authored andcommitted
yaml: fixed inconsistent InstanceInfo field
The InstanceInfo field has a different format than what the YAML file describes. This commit aligns the InstanceInfo field with how Firecracker returns it. Signed-off-by: Gabriel Ionescu <[email protected]>
1 parent 96735ee commit 7837f15

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Changelog
22

3+
## [0.22.2]
4+
5+
### Fixed
6+
7+
- Fixed inconsistency in YAML file InstanceInfo definition
8+
39
## [0.22.1]
410

511
### Fixed

src/api_server/swagger/firecracker.yaml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -508,21 +508,16 @@ definitions:
508508
Describes MicroVM instance information.
509509
required:
510510
- id
511-
- state
512511
- vmm_version
513512
properties:
514513
id:
515514
description: MicroVM / instance ID.
516515
type: string
517-
state:
516+
started:
518517
description:
519518
The current detailed state of the Firecracker instance.
520519
This value is read-only for the control-plane.
521-
type: string
522-
enum:
523-
- Uninitialized
524-
- Starting
525-
- Running
520+
type: boolean
526521
vmm_version:
527522
description: MicroVM hypervisor build version.
528523
type: string

0 commit comments

Comments
 (0)