Skip to content

fix: agent func arg type, minor fixes

Codecov / codecov/patch failed Jul 20, 2024 in 1s

37.64% of diff hit (target 66.92%)

View this Pull Request on Codecov

37.64% of diff hit (target 66.92%)

Annotations

Check warning on line 46 in sztp-agent/cmd/daemon.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

sztp-agent/cmd/daemon.go#L46

Added line #L46 was not covered by tests

Check warning on line 46 in sztp-agent/cmd/run.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

sztp-agent/cmd/run.go#L46

Added line #L46 was not covered by tests

Check warning on line 23 in sztp-agent/pkg/dhcp/network_manager.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

sztp-agent/pkg/dhcp/network_manager.go#L19-L23

Added lines #L19 - L23 were not covered by tests

Check warning on line 31 in sztp-agent/pkg/dhcp/network_manager.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

sztp-agent/pkg/dhcp/network_manager.go#L25-L31

Added lines #L25 - L31 were not covered by tests

Check warning on line 35 in sztp-agent/pkg/dhcp/network_manager.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

sztp-agent/pkg/dhcp/network_manager.go#L33-L35

Added lines #L33 - L35 were not covered by tests

Check warning on line 45 in sztp-agent/pkg/dhcp/network_manager.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

sztp-agent/pkg/dhcp/network_manager.go#L37-L45

Added lines #L37 - L45 were not covered by tests

Check warning on line 54 in sztp-agent/pkg/dhcp/network_manager.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

sztp-agent/pkg/dhcp/network_manager.go#L48-L54

Added lines #L48 - L54 were not covered by tests

Check warning on line 62 in sztp-agent/pkg/dhcp/network_manager.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

sztp-agent/pkg/dhcp/network_manager.go#L57-L62

Added lines #L57 - L62 were not covered by tests

Check warning on line 67 in sztp-agent/pkg/dhcp/network_manager.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

sztp-agent/pkg/dhcp/network_manager.go#L64-L67

Added lines #L64 - L67 were not covered by tests

Check warning on line 72 in sztp-agent/pkg/dhcp/network_manager.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

sztp-agent/pkg/dhcp/network_manager.go#L69-L72

Added lines #L69 - L72 were not covered by tests

Check warning on line 48 in sztp-agent/pkg/dhcp/utils.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

sztp-agent/pkg/dhcp/utils.go#L48

Added line #L48 was not covered by tests

Check warning on line 68 in sztp-agent/pkg/dhcp/utils.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

sztp-agent/pkg/dhcp/utils.go#L67-L68

Added lines #L67 - L68 were not covered by tests

Check warning on line 74 in sztp-agent/pkg/dhcp/utils.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

sztp-agent/pkg/dhcp/utils.go#L73-L74

Added lines #L73 - L74 were not covered by tests

Check warning on line 80 in sztp-agent/pkg/dhcp/utils.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

sztp-agent/pkg/dhcp/utils.go#L79-L80

Added lines #L79 - L80 were not covered by tests

Check warning on line 91 in sztp-agent/pkg/dhcp/utils.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

sztp-agent/pkg/dhcp/utils.go#L89-L91

Added lines #L89 - L91 were not covered by tests

Check warning on line 49 in sztp-agent/pkg/secureagent/daemon.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

sztp-agent/pkg/secureagent/daemon.go#L49

Added line #L49 was not covered by tests

Check warning on line 61 in sztp-agent/pkg/secureagent/daemon.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

sztp-agent/pkg/secureagent/daemon.go#L60-L61

Added lines #L60 - L61 were not covered by tests

Check warning on line 74 in sztp-agent/pkg/secureagent/daemon.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

sztp-agent/pkg/secureagent/daemon.go#L67-L74

Added lines #L67 - L74 were not covered by tests

Check warning on line 79 in sztp-agent/pkg/secureagent/daemon.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

sztp-agent/pkg/secureagent/daemon.go#L76-L79

Added lines #L76 - L79 were not covered by tests

Check warning on line 84 in sztp-agent/pkg/secureagent/daemon.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

sztp-agent/pkg/secureagent/daemon.go#L81-L84

Added lines #L81 - L84 were not covered by tests

Check warning on line 89 in sztp-agent/pkg/secureagent/daemon.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

sztp-agent/pkg/secureagent/daemon.go#L86-L89

Added lines #L86 - L89 were not covered by tests

Check warning on line 94 in sztp-agent/pkg/secureagent/daemon.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

sztp-agent/pkg/secureagent/daemon.go#L91-L94

Added lines #L91 - L94 were not covered by tests

Check warning on line 99 in sztp-agent/pkg/secureagent/daemon.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

sztp-agent/pkg/secureagent/daemon.go#L96-L99

Added lines #L96 - L99 were not covered by tests

Check warning on line 102 in sztp-agent/pkg/secureagent/daemon.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

sztp-agent/pkg/secureagent/daemon.go#L101-L102

Added lines #L101 - L102 were not covered by tests

Check warning on line 104 in sztp-agent/pkg/secureagent/daemon.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

sztp-agent/pkg/secureagent/daemon.go#L104

Added line #L104 was not covered by tests