Commit 01a5d28
Anand Kumar
fix(staticcheck): use PlatformStatus.Type instead of deprecated Status.Platform
Resolve SA1019: infra.Status.Platform is deprecated in OpenShift config API.
Use infra.Status.PlatformStatus.Type when available; when PlatformStatus
is nil, platform type remains zero value and cloud credentials are not applied.
Made-with: Cursor1 parent 2807696 commit 01a5d28
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
125 | 125 | | |
126 | 126 | | |
127 | 127 | | |
128 | | - | |
| 128 | + | |
129 | 129 | | |
130 | 130 | | |
131 | 131 | | |
| |||
0 commit comments