Skip to content

Commit 971cc72

Browse files
committed
test(httpapi): add GetDockerCLISource to fakeRuntimeStats for schema v5
The RuntimeStats interface gained GetDockerCLISource() (MCP-2745); the httpapi telemetry payload test's fake stub must implement it or the package fails to typecheck under the full-repo CI lint. Related #696
1 parent c609541 commit 971cc72

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

internal/httpapi/telemetry_payload_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ func (fakeRuntimeStats) GetRoutingMode() string { return "retrieve_to
3636
func (fakeRuntimeStats) IsQuarantineEnabled() bool { return true }
3737
func (fakeRuntimeStats) IsDockerAvailable() bool { return false }
3838
func (fakeRuntimeStats) GetDockerIsolatedServerCount() int { return 0 }
39+
func (fakeRuntimeStats) GetDockerCLISource() string { return "absent" }
3940

4041
func TestHandleGetTelemetryPayload_OK(t *testing.T) {
4142
logger := zap.NewNop().Sugar()

0 commit comments

Comments
 (0)