Skip to content

Commit d323c04

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 0949f0f commit d323c04

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.23.1]
4+
5+
### Fixed
6+
7+
- Fixed inconsistency in YAML file InstanceInfo definition
8+
39
## [0.23.0]
410

511
### Added

src/api_server/swagger/firecracker.yaml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -586,7 +586,6 @@ definitions:
586586
Describes MicroVM instance information.
587587
required:
588588
- id
589-
- state
590589
- vmm_version
591590
properties:
592591
app_name:
@@ -595,15 +594,11 @@ definitions:
595594
id:
596595
description: MicroVM / instance ID.
597596
type: string
598-
state:
597+
started:
599598
description:
600599
The current detailed state of the Firecracker instance.
601600
This value is read-only for the control-plane.
602-
type: string
603-
enum:
604-
- Uninitialized
605-
- Starting
606-
- Running
601+
type: boolean
607602
vmm_version:
608603
description: MicroVM hypervisor build version.
609604
type: string

0 commit comments

Comments
 (0)