Skip to content

Commit

Permalink
🐛 Fix bug managed log source config name (#178)
Browse files Browse the repository at this point in the history
  • Loading branch information
shaeqahmed authored Sep 5, 2023
1 parent d399327 commit fe32c7d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions infra/lib/log-source.ts
Original file line number Diff line number Diff line change
Expand Up @@ -319,6 +319,11 @@ export class MatanoLogSource extends Construct {
);
}

if (isLogSourceConfig) {
// delete name key from managed config to avoid merge overwrite
delete managedConfig.name;
}

const config: any =
configInfo.type == "shared"
? mergeManagedConfig(userConfig, managedConfig, managedLogSourceType)
Expand Down

0 comments on commit fe32c7d

Please sign in to comment.