diff options
author | Pablo Mazzini <pmazzini@gmail.com> | 2022-10-01 13:27:45 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-01 13:27:45 +0100 |
commit | 0fe08a6d435ac81833ebee256fe0607a0b1ec9a7 (patch) | |
tree | 7312e2eca94907a60ecd250493c4f36573b57db5 /dhcpv4/nclient4/lease_test.go | |
parent | c54f469494bb5c429c50fa371dce81d965cf56a2 (diff) | |
parent | 962b81a3c7c72027180d70695556b03a90a566b5 (diff) |
Merge branch 'master' into fix-not-nil-checks
Diffstat (limited to 'dhcpv4/nclient4/lease_test.go')
-rw-r--r-- | dhcpv4/nclient4/lease_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dhcpv4/nclient4/lease_test.go b/dhcpv4/nclient4/lease_test.go index d27eeca..d9377e7 100644 --- a/dhcpv4/nclient4/lease_test.go +++ b/dhcpv4/nclient4/lease_test.go @@ -238,7 +238,7 @@ func (sll *testServerLeaseList) runTest(t *testing.T) { sll.lastTestSvrErrLock.RUnlock() if keepgoing { - err = clnt.Renew(context.Background(), lease) + lease, err = clnt.Renew(context.Background(), lease) sll.lastTestSvrErrLock.RLock() keepgoing = chkerr(err, sll.lastTestSvrErr, l.ShouldFail, t) sll.lastTestSvrErrLock.RUnlock() |