mirror of
https://github.com/juanfont/headscale.git
synced 2026-01-23 18:36:36 +00:00
Add sentinel errors across integration test infrastructure and test files to comply with err113 linter requirements. This replaces inline dynamic errors with wrapped static sentinel errors. Files updated: - integration/tsic/tsic.go: Add errNoNetworkSet, errLogoutFailed, errNoIPsReturned, errNoIPv4AddressFound, errBackendStateTimeout, errPeerWaitTimeout, errPeerNotOnline, errPeerNoHostname, errPeerNoDERP, errFileEmpty, errTailscaleVersionRequired - integration/scenario.go: Add errUserAlreadyInNetwork, errNoNetworkNamed, errNoIPAMConfig, errHTTPClientNil, errLoginURLNil, errUnexpectedStatusCode, errNetworkDoesNotExist - integration/helpers.go: Add errExpectedStringNotFound, errUserNotFound, errNoNewClientFound, errUnexpectedClientCount - integration/hsic/hsic.go: Add errDatabaseEmptySchema, errDatabaseFileEmpty, errNoRegularFileInTar - integration/derp_verify_endpoint_test.go: Add errUnexpectedRecvType - cmd/mapresponses/main.go: Add errDirectoryRequired - hscontrol/auth_test.go: Add errNodeNotFoundAfterSetup, errInvalidAuthURLFormat - hscontrol/state/node_store_test.go: Add errTestUpdateNodeFailed, errTestGetNodeFailed, errTestPutNodeFailed |
||
|---|---|---|
| .. | ||
| main.go | ||