Skip to content

Commit 30ef4ee

Browse files
authored
Merge pull request #209 from kzys/201-yaml
Upgrade client/swagger.yaml to Firecracker 0.21.0's API definition
2 parents 5f3b54f + 2437ebc commit 30ef4ee

File tree

5 files changed

+4
-23
lines changed

5 files changed

+4
-23
lines changed

COPYRIGHT_HEADER

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ License is located at
99
or in the "license" file accompanying this file. This file is distributed
1010
on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
1111
express or implied. See the License for the specific language governing
12-
permissions and limitations under the License.
12+
permissions and limitations under the License.

client/models/instance_action_info.go

Lines changed: 2 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

client/models/logger.go

Lines changed: 0 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

client/swagger.yaml

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ info:
55
The API is accessible through HTTP calls on specific URLs
66
carrying JSON modeled data.
77
The transport medium is a Unix Domain Socket.
8-
version: 0.20.0
8+
version: 0.21.0
99
termsOfService: ""
1010
contact:
1111
@@ -452,12 +452,9 @@ definitions:
452452
description: Enumeration indicating what type of action is contained in the payload
453453
type: string
454454
enum:
455-
- BlockDeviceRescan
456455
- FlushMetrics
457456
- InstanceStart
458457
- SendCtrlAltDel
459-
payload:
460-
type: string
461458

462459
InstanceInfo:
463460
type: object
@@ -511,12 +508,6 @@ definitions:
511508
type: boolean
512509
description: Whether or not to include the file path and line number of the log's origin.
513510
default: false
514-
options:
515-
type: array
516-
items:
517-
type: string
518-
description: Additional logging options. Only "LogDirtyPages" is supported.
519-
default: []
520511

521512
MachineConfiguration:
522513
type: object

machine.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -618,7 +618,6 @@ func (m *Machine) setupLogging(ctx context.Context) error {
618618
MetricsFifo: String(m.Cfg.MetricsFifo),
619619
ShowLevel: Bool(true),
620620
ShowLogOrigin: Bool(false),
621-
Options: []string{},
622621
}
623622

624623
_, err := m.client.PutLogger(ctx, &l)

0 commit comments

Comments
 (0)