Skip to content

fix: use a runtime.Type type switch instead of a string match#1760

Merged
fabianburth merged 2 commits into
open-component-model:mainfrom
Skarlso:fix-deployer-type
Feb 11, 2026
Merged

fix: use a runtime.Type type switch instead of a string match#1760
fabianburth merged 2 commits into
open-component-model:mainfrom
Skarlso:fix-deployer-type

Conversation

@Skarlso

@Skarlso Skarlso commented Feb 11, 2026

Copy link
Copy Markdown
Contributor

What this PR does / why we need it

Shouldn't use string matching for type assertion.

Which issue(s) this PR fixes

@Skarlso Skarlso requested a review from a team as a code owner February 11, 2026 15:05
@github-actions github-actions Bot added kind/bugfix Bug size/xs Extra small labels Feb 11, 2026
On-behalf-of: Gergely Brautigam <gergely.brautigam@sap.com>

Signed-off-by: Gergely Brautigam <182850+Skarlso@users.noreply.github.com>
@github-actions github-actions Bot added the size/s Small label Feb 11, 2026
@fabianburth fabianburth enabled auto-merge (squash) February 11, 2026 15:50
@fabianburth fabianburth merged commit 29295ee into open-component-model:main Feb 11, 2026
19 checks passed
morri-son pushed a commit to morri-son/open-component-model that referenced this pull request Feb 18, 2026
…omponent-model#1760)

<!-- markdownlint-disable MD041 -->
#### What this PR does / why we need it

Shouldn't use string matching for type assertion.

#### Which issue(s) this PR fixes
<!--
Usage: `Fixes #<issue number>`, or `Fixes (paste link of issue)`.
-->

Signed-off-by: Gergely Brautigam <182850+Skarlso@users.noreply.github.com>
Co-authored-by: Fabian Burth <fabian.burth@sap.com>
Signed-off-by: Gerald Morrison (SAP) <gerald.morrison@sap.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind/bugfix Bug size/s Small size/xs Extra small

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants