Skip to content

Commit

Permalink
nfs4: fix telescopic constructor call of NFSv4StateHandler
Browse files Browse the repository at this point in the history
use provides ClientCache in telescopic constructor call of NFSv4StateHandler

Acked-by: Lea Morschel
Target: master
  • Loading branch information
kofemann committed May 9, 2023
1 parent 991a18d commit a7cc8b4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/src/main/java/org/dcache/nfs/v4/NFSv4StateHandler.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2009 - 2022 Deutsches Elektronen-Synchroton,
* Copyright (c) 2009 - 2023 Deutsches Elektronen-Synchroton,
* Member of the Helmholtz Association, (DESY), HAMBURG, GERMANY
*
* This library is free software; you can redistribute it and/or modify
Expand Down Expand Up @@ -126,7 +126,7 @@ public NFSv4StateHandler(Duration leaseTime, int instanceId, ClientRecoveryStore
}

public NFSv4StateHandler(Duration leaseTime, int instanceId, ClientRecoveryStore clientStore, ClientCache clientsByServerId) {
this(leaseTime, instanceId, clientStore, new DefaultClientCache(leaseTime, new DeadClientCollector(clientStore)), Clock.systemDefaultZone());
this(leaseTime, instanceId, clientStore, clientsByServerId, Clock.systemDefaultZone());
}

@VisibleForTesting
Expand Down

0 comments on commit a7cc8b4

Please sign in to comment.