Skip to content

fix: agent func arg type, minor fixes

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

36.99% of diff hit (target 66.92%)

View this Pull Request on Codecov

36.99% 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 32 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-L32

Added lines #L19 - L32 were not covered by tests

Check warning on line 36 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#L34-L36

Added lines #L34 - L36 were not covered by tests

Check warning on line 46 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#L38-L46

Added lines #L38 - L46 were not covered by tests

Check warning on line 55 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#L49-L55

Added lines #L49 - L55 were not covered by tests

Check warning on line 63 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#L58-L63

Added lines #L58 - L63 were not covered by tests

Check warning on line 68 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#L65-L68

Added lines #L65 - L68 were not covered by tests

Check warning on line 73 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#L70-L73

Added lines #L70 - L73 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 65 in sztp-agent/pkg/secureagent/daemon.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

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

Added line #L65 was 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