Skip to content

feat: fetch dhcp leases from network-manager via dbus #1416

feat: fetch dhcp leases from network-manager via dbus

feat: fetch dhcp leases from network-manager via dbus #1416

Triggered via pull request July 20, 2024 18:51
Status Failure
Total duration 21s
Artifacts

linters.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 3 warnings
golangci: sztp-agent/pkg/dhcp/network_manager.go#L24
Error return value of `conn.Close` is not checked (errcheck)
golangci: sztp-agent/pkg/secureagent/daemon.go#L65
File is not `gofmt`-ed with `-s` (gofmt)
golangci
issues found
golangci
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/setup-go@v4, golangci/golangci-lint-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
golangci
Restore cache failed: Dependencies file is not found in /home/runner/work/sztp/sztp. Supported file pattern: go.sum
golangci: sztp-agent/pkg/dhcp/dhcp_lease.go#L17
var-naming: const sztpRedirectUrl should be sztpRedirectURL (revive)