summaryrefslogtreecommitdiffhomepage
path: root/dhcpv4/nclient4/lease_test.go
diff options
context:
space:
mode:
authorPablo Mazzini <pmazzini@gmail.com>2022-10-01 13:27:45 +0100
committerGitHub <noreply@github.com>2022-10-01 13:27:45 +0100
commit0fe08a6d435ac81833ebee256fe0607a0b1ec9a7 (patch)
tree7312e2eca94907a60ecd250493c4f36573b57db5 /dhcpv4/nclient4/lease_test.go
parentc54f469494bb5c429c50fa371dce81d965cf56a2 (diff)
parent962b81a3c7c72027180d70695556b03a90a566b5 (diff)
Merge branch 'master' into fix-not-nil-checks
Diffstat (limited to 'dhcpv4/nclient4/lease_test.go')
-rw-r--r--dhcpv4/nclient4/lease_test.go2
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()