You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1. MockK8sClient.Apply method signature:
- Changed from (ctx, Object, ...PatchOption) to (ctx, ApplyConfiguration, ...ApplyOption)
- Matches controller-runtime v0.18+ API requirements
2. O2DMSClient httpClient field type:
- Fixed all 6 test instances to wrap MockHTTPClient in &http.Client{}
- Resolves type mismatch between mock and actual http.Client pointer
3. NephioPackager struct initialization:
- Removed non-existent PorchClient, Repository, Namespace fields
- Used actual struct fields: logger, workingDir, registry
- Added missing log/slog import
4. Unused imports cleanup:
- Removed unused labels import from monitoring_e2e_test.go
- Removed unused require import from tn/agent/pkg/iperf_test.go
5. Added StackValidation type:
- Defined missing type used by ValidateStack() method
- Includes ComponentsRunning, HealthStatus, ValidationErrors, Timestamp
Errors fixed: 6 total
Total errors fixed across all 22 rounds: 119
0 commit comments