Skip to content

handler: Update NetworkInfo cache on GetNetworkInfo request

Codecov / codecov/patch succeeded Oct 23, 2024 in 0s

35.71% of diff hit (target 22.79%)

View this Pull Request on Codecov

35.71% of diff hit (target 22.79%)

Annotations

Check warning on line 85 in handlers/api.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

handlers/api.go#L85

Added line #L85 was not covered by tests

Check warning on line 92 in handlers/auth.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

handlers/auth.go#L92

Added line #L92 was not covered by tests

Check warning on line 95 in handlers/auth.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

handlers/auth.go#L95

Added line #L95 was not covered by tests

Check warning on line 137 in handlers/auth.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

handlers/auth.go#L137

Added line #L137 was not covered by tests

Check warning on line 153 in handlers/auth.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

handlers/auth.go#L153

Added line #L153 was not covered by tests

Check warning on line 170 in handlers/auth.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

handlers/auth.go#L169-L170

Added lines #L169 - L170 were not covered by tests

Check warning on line 206 in handlers/auth.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

handlers/auth.go#L205-L206

Added lines #L205 - L206 were not covered by tests

Check warning on line 215 in handlers/auth.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

handlers/auth.go#L214-L215

Added lines #L214 - L215 were not covered by tests

Check warning on line 67 in handlers/containers.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

handlers/containers.go#L67

Added line #L67 was not covered by tests

Check warning on line 384 in handlers/containers.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

handlers/containers.go#L384

Added line #L384 was not covered by tests

Check warning on line 412 in handlers/containers.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

handlers/containers.go#L409-L412

Added lines #L409 - L412 were not covered by tests

Check warning on line 416 in handlers/containers.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

handlers/containers.go#L414-L416

Added lines #L414 - L416 were not covered by tests

Check warning on line 21 in handlers/network.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

handlers/network.go#L20-L21

Added lines #L20 - L21 were not covered by tests

Check warning on line 65 in handlers/newObjects.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

handlers/newObjects.go#L65

Added line #L65 was not covered by tests

Check warning on line 108 in handlers/objects.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

handlers/objects.go#L108

Added line #L108 was not covered by tests

Check warning on line 943 in handlers/objects.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

handlers/objects.go#L943

Added line #L943 was not covered by tests

Check warning on line 57 in handlers/util.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

handlers/util.go#L57

Added line #L57 was not covered by tests

Check warning on line 66 in handlers/util.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

handlers/util.go#L66

Added line #L66 was not covered by tests

Check warning on line 94 in handlers/util.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

handlers/util.go#L93-L94

Added lines #L93 - L94 were not covered by tests

Check warning on line 44 in internal/cache/networkinfo.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/cache/networkinfo.go#L43-L44

Added lines #L43 - L44 were not covered by tests

Check warning on line 60 in internal/cache/networkinfo.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/cache/networkinfo.go#L57-L60

Added lines #L57 - L60 were not covered by tests