Skip to content

fix: deleted unnecessary nil check

Codecov / codecov/patch succeeded Sep 10, 2024 in 0s

28.20% of diff hit (target 24.55%)

View this Pull Request on Codecov

28.20% of diff hit (target 24.55%)

Annotations

Check warning on line 69 in pkg/agent/core/ngt/handler/grpc/index.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/agent/core/ngt/handler/grpc/index.go#L67-L69

Added lines #L67 - L69 were not covered by tests

Check warning on line 157 in pkg/agent/core/ngt/handler/grpc/index.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/agent/core/ngt/handler/grpc/index.go#L155-L157

Added lines #L155 - L157 were not covered by tests

Check warning on line 263 in pkg/agent/core/ngt/service/ngt.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/agent/core/ngt/service/ngt.go#L263

Added line #L263 was not covered by tests

Check warning on line 268 in pkg/agent/core/ngt/service/ngt.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/agent/core/ngt/service/ngt.go#L265-L268

Added lines #L265 - L268 were not covered by tests

Check warning on line 273 in pkg/agent/core/ngt/service/ngt.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/agent/core/ngt/service/ngt.go#L271-L273

Added lines #L271 - L273 were not covered by tests

Check warning on line 280 in pkg/agent/core/ngt/service/ngt.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/agent/core/ngt/service/ngt.go#L276-L280

Added lines #L276 - L280 were not covered by tests

Check warning on line 931 in pkg/agent/core/ngt/service/ngt.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/agent/core/ngt/service/ngt.go#L931

Added line #L931 was not covered by tests

Check warning on line 1270 in pkg/agent/core/ngt/service/ngt.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/agent/core/ngt/service/ngt.go#L1270

Added line #L1270 was not covered by tests

Check warning on line 1291 in pkg/agent/core/ngt/service/ngt.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/agent/core/ngt/service/ngt.go#L1291

Added line #L1291 was not covered by tests

Check warning on line 1293 in pkg/agent/core/ngt/service/ngt.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/agent/core/ngt/service/ngt.go#L1293

Added line #L1293 was not covered by tests

Check warning on line 1308 in pkg/agent/core/ngt/service/ngt.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/agent/core/ngt/service/ngt.go#L1307-L1308

Added lines #L1307 - L1308 were not covered by tests

Check warning on line 1955 in pkg/agent/core/ngt/service/ngt.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/agent/core/ngt/service/ngt.go#L1955

Added line #L1955 was not covered by tests

Check warning on line 1962 in pkg/agent/core/ngt/service/ngt.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/agent/core/ngt/service/ngt.go#L1962

Added line #L1962 was not covered by tests

Check warning on line 1969 in pkg/agent/core/ngt/service/ngt.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/agent/core/ngt/service/ngt.go#L1969

Added line #L1969 was not covered by tests