Skip to content

Commit

Permalink
Merge pull request #40 from port-labs/PORT-7523-k-8-s-exporter-fix-de…
Browse files Browse the repository at this point in the history
…fault-configuration-ignore-create-missing-value

fixed model to use the yaml parsing
  • Loading branch information
yairsimantov20 authored Apr 2, 2024
2 parents c636f20 + f30f8da commit cd4e3bd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkg/port/models.go
Original file line number Diff line number Diff line change
Expand Up @@ -221,9 +221,9 @@ type AggregatedResource struct {
}

type IntegrationAppConfig struct {
DeleteDependents bool `json:"deleteDependents,omitempty"`
CreateMissingRelatedEntities bool `json:"createMissingRelatedEntities,omitempty"`
Resources []Resource `json:"resources,omitempty"`
DeleteDependents bool `json:"deleteDependents,omitempty" yaml:"deleteDependents,omitempty"`
CreateMissingRelatedEntities bool `json:"createMissingRelatedEntities,omitempty" yaml:"createMissingRelatedEntities,omitempty"`
Resources []Resource `json:"resources,omitempty" yaml:"resources,omitempty"`
}

type Config struct {
Expand Down

0 comments on commit cd4e3bd

Please sign in to comment.