Unregister stateless agents from server on termination #2606
5.26% of diff hit (target 33.72%)
View this Pull Request on Codecov
5.26% of diff hit (target 33.72%)
Annotations
Check warning on line 122 in cmd/agent/agent.go
codecov / codecov/patch
cmd/agent/agent.go#L121-L122
Added lines #L121 - L122 were not covered by tests
Check warning on line 124 in cmd/agent/agent.go
codecov / codecov/patch
cmd/agent/agent.go#L124
Added line #L124 was not covered by tests
Check warning on line 133 in cmd/agent/agent.go
codecov / codecov/patch
cmd/agent/agent.go#L126-L133
Added lines #L126 - L133 were not covered by tests
Check warning on line 182 in cmd/agent/agent.go
codecov / codecov/patch
cmd/agent/agent.go#L179-L182
Added lines #L179 - L182 were not covered by tests
Check warning on line 205 in cmd/agent/agent.go
codecov / codecov/patch
cmd/agent/agent.go#L205
Added line #L205 was not covered by tests
Check warning on line 229 in cmd/agent/agent.go
codecov / codecov/patch
cmd/agent/agent.go#L229
Added line #L229 was not covered by tests
Check warning on line 40 in cmd/agent/config.go
codecov / codecov/patch
cmd/agent/config.go#L39-L40
Added lines #L39 - L40 were not covered by tests
Check warning on line 65 in cmd/agent/config.go
codecov / codecov/patch
cmd/agent/config.go#L65
Added line #L65 was not covered by tests
Check warning on line 75 in cmd/agent/config.go
codecov / codecov/patch
cmd/agent/config.go#L75
Added line #L75 was not covered by tests
Check warning on line 105 in pipeline/backend/kubernetes/kubernetes.go
codecov / codecov/patch
pipeline/backend/kubernetes/kubernetes.go#L105
Added line #L105 was not covered by tests
Check warning on line 358 in server/grpc/rpc.go
codecov / codecov/patch
server/grpc/rpc.go#L353-L358
Added lines #L353 - L358 were not covered by tests
Check warning on line 362 in server/grpc/rpc.go
codecov / codecov/patch
server/grpc/rpc.go#L360-L362
Added lines #L360 - L362 were not covered by tests
Check warning on line 168 in server/grpc/server.go
codecov / codecov/patch
server/grpc/server.go#L166-L168
Added lines #L166 - L168 were not covered by tests
Check warning on line 40 in shared/utils/context.go
codecov / codecov/patch
shared/utils/context.go#L40
Added line #L40 was not covered by tests