Commit 4a7d654
nfs: rename Server to nfsIdentityServer
Rename the NFS identity Server struct to nfsIdentityServer to follow Go
naming conventions for unexported types and to make it clear this is
the NFS-specific implementation.
Update the method receiver, add compile-time interface assertion to
ensure the type implements the required CSI IdentityServer interface,
and update NewIdentityServer to return the csi.IdentityServer interface.
Assisted-by: AskBob <askbob@ibm.com>
Signed-off-by: Niels de Vos <ndevos@ibm.com>1 parent 97fd945 commit 4a7d654
1 file changed
Lines changed: 8 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
28 | | - | |
29 | | - | |
| 27 | + | |
| 28 | + | |
30 | 29 | | |
31 | 30 | | |
32 | 31 | | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
33 | 35 | | |
34 | | - | |
35 | | - | |
| 36 | + | |
| 37 | + | |
36 | 38 | | |
37 | 39 | | |
38 | 40 | | |
39 | 41 | | |
40 | 42 | | |
41 | | - | |
| 43 | + | |
42 | 44 | | |
43 | 45 | | |
44 | 46 | | |
| |||
0 commit comments