diff --git a/COPYRIGHT_HEADER b/COPYRIGHT_HEADER index bcd71e0a..22ed8b66 100644 --- a/COPYRIGHT_HEADER +++ b/COPYRIGHT_HEADER @@ -9,4 +9,4 @@ License is located at or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing -permissions and limitations under the License. +permissions and limitations under the License. \ No newline at end of file diff --git a/client/models/instance_action_info.go b/client/models/instance_action_info.go index 6017c6cc..e7438e9b 100644 --- a/client/models/instance_action_info.go +++ b/client/models/instance_action_info.go @@ -34,11 +34,8 @@ type InstanceActionInfo struct { // Enumeration indicating what type of action is contained in the payload // Required: true - // Enum: [BlockDeviceRescan FlushMetrics InstanceStart SendCtrlAltDel] + // Enum: [FlushMetrics InstanceStart SendCtrlAltDel] ActionType *string `json:"action_type"` - - // payload - Payload string `json:"payload,omitempty"` } // Validate validates this instance action info @@ -59,7 +56,7 @@ var instanceActionInfoTypeActionTypePropEnum []interface{} func init() { var res []string - if err := json.Unmarshal([]byte(`["BlockDeviceRescan","FlushMetrics","InstanceStart","SendCtrlAltDel"]`), &res); err != nil { + if err := json.Unmarshal([]byte(`["FlushMetrics","InstanceStart","SendCtrlAltDel"]`), &res); err != nil { panic(err) } for _, v := range res { @@ -69,9 +66,6 @@ func init() { const ( - // InstanceActionInfoActionTypeBlockDeviceRescan captures enum value "BlockDeviceRescan" - InstanceActionInfoActionTypeBlockDeviceRescan string = "BlockDeviceRescan" - // InstanceActionInfoActionTypeFlushMetrics captures enum value "FlushMetrics" InstanceActionInfoActionTypeFlushMetrics string = "FlushMetrics" diff --git a/client/models/logger.go b/client/models/logger.go index fde6487b..596988ab 100644 --- a/client/models/logger.go +++ b/client/models/logger.go @@ -44,9 +44,6 @@ type Logger struct { // Required: true MetricsFifo *string `json:"metrics_fifo"` - // Additional logging options. Only "LogDirtyPages" is supported. - Options []string `json:"options"` - // Whether or not to output the level in the logs. ShowLevel *bool `json:"show_level,omitempty"` diff --git a/client/swagger.yaml b/client/swagger.yaml index c160848d..410bc73b 100644 --- a/client/swagger.yaml +++ b/client/swagger.yaml @@ -5,7 +5,7 @@ info: The API is accessible through HTTP calls on specific URLs carrying JSON modeled data. The transport medium is a Unix Domain Socket. - version: 0.20.0 + version: 0.21.0 termsOfService: "" contact: email: "compute-capsule@amazon.com" @@ -452,12 +452,9 @@ definitions: description: Enumeration indicating what type of action is contained in the payload type: string enum: - - BlockDeviceRescan - FlushMetrics - InstanceStart - SendCtrlAltDel - payload: - type: string InstanceInfo: type: object @@ -511,12 +508,6 @@ definitions: type: boolean description: Whether or not to include the file path and line number of the log's origin. default: false - options: - type: array - items: - type: string - description: Additional logging options. Only "LogDirtyPages" is supported. - default: [] MachineConfiguration: type: object diff --git a/machine.go b/machine.go index 87b4e813..c2dc0b80 100644 --- a/machine.go +++ b/machine.go @@ -618,7 +618,6 @@ func (m *Machine) setupLogging(ctx context.Context) error { MetricsFifo: String(m.Cfg.MetricsFifo), ShowLevel: Bool(true), ShowLogOrigin: Bool(false), - Options: []string{}, } _, err := m.client.PutLogger(ctx, &l)