From f30f8da313e02a56b95e32fb126b478290e43eac Mon Sep 17 00:00:00 2001 From: yair Date: Tue, 2 Apr 2024 17:46:18 +0300 Subject: [PATCH] fixed model to use the yaml parsing --- pkg/port/models.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkg/port/models.go b/pkg/port/models.go index 57d1966..661bbef 100644 --- a/pkg/port/models.go +++ b/pkg/port/models.go @@ -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 {