Skip to content

Commit

Permalink
Merge pull request #246 from calyptia/create-pull-request/patch
Browse files Browse the repository at this point in the history
update types/spec/client to v1.5.6
  • Loading branch information
niedbalski authored Oct 17, 2023
2 parents 341cdf8 + 7d70581 commit 5938e61
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
8 changes: 7 additions & 1 deletion spec/open-api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3492,7 +3492,10 @@ components:
$ref: "#/components/schemas/ConfigSectionKind"
properties:
$ref: "#/components/schemas/Pairs"
required: [kind, properties]
skipConfigValidation:
type: boolean
default: false
required: [kind, properties, skipConfigValidation]
CreatedConfigSection:
type: object
properties:
Expand All @@ -3510,6 +3513,9 @@ components:
$ref: "#/components/schemas/Pairs"
nullable: true
default: null
skipConfigValidation:
type: boolean
default: false

UpdatedConfigSection:
type: object
Expand Down
8 changes: 4 additions & 4 deletions types/config_section.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
package types

import (
"time"
)
import "time"

// ConfigSectionKind enum with known fluent-bit section types.
type ConfigSectionKind string
Expand Down Expand Up @@ -47,6 +45,7 @@ type CreateConfigSection struct {
Properties Pairs `json:"properties"`
ProcessingRuleID *string `json:"-"`
PipelineClusterObjectSetID *string `json:"-"`
SkipConfigValidation bool `json:"skipConfigValidation"`
}

// ConfigSectionsParams request payload for querying
Expand All @@ -66,5 +65,6 @@ type ConfigSections struct {
// UpdateConfigSection request payload for updating a
// fluent-bit config section on a project.
type UpdateConfigSection struct {
Properties *Pairs `json:"properties"`
Properties *Pairs `json:"properties"`
SkipConfigValidation bool `json:"skipConfigValidation"`
}

0 comments on commit 5938e61

Please sign in to comment.