Skip to content

Commit

Permalink
Fixup nfs naming (prometheus#573)
Browse files Browse the repository at this point in the history
Fix golangci-lint revive naming issues.

Signed-off-by: SuperQ <superq@gmail.com>
  • Loading branch information
SuperQ authored and jritter committed Jul 15, 2024
1 parent e7917b2 commit 8d4a27e
Showing 3 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions nfs/nfs.go
Original file line number Diff line number Diff line change
@@ -246,8 +246,8 @@ type V4Ops struct {
SaveFH uint64
SecInfo uint64
SetAttr uint64
SetClientId uint64
SetClientIdConfirm uint64
SetClientID uint64
SetClientIDConfirm uint64
Verify uint64
Write uint64
RelLockOwner uint64
4 changes: 2 additions & 2 deletions nfs/parse.go
Original file line number Diff line number Diff line change
@@ -314,8 +314,8 @@ func parseV4Ops(v []uint64) (V4Ops, error) {
SaveFH: v[33],
SecInfo: v[34],
SetAttr: v[35],
SetClientId: v[36],
SetClientIdConfirm: v[37],
SetClientID: v[36],
SetClientIDConfirm: v[37],
Verify: v[38],
Write: v[39],
RelLockOwner: v40,
16 changes: 8 additions & 8 deletions nfs/parse_nfsd_test.go
Original file line number Diff line number Diff line change
@@ -169,8 +169,8 @@ proc4ops 72 0 0 0 1098 2 0 0 0 0 8179 5896 0 0 0 0 5900 0 0 2 0 2 0 9609 0 2 150
SaveFH: 0,
SecInfo: 0,
SetAttr: 0,
SetClientId: 3,
SetClientIdConfirm: 3,
SetClientID: 3,
SetClientIDConfirm: 3,
Verify: 0,
Write: 0,
RelLockOwner: 0,
@@ -312,8 +312,8 @@ proc4ops 40 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
SaveFH: 0,
SecInfo: 0,
SetAttr: 0,
SetClientId: 0,
SetClientIdConfirm: 0,
SetClientID: 0,
SetClientIDConfirm: 0,
Verify: 0,
Write: 0,
RelLockOwner: 0,
@@ -456,8 +456,8 @@ proc4ops 59 0 0 0 18112 8341 0 0 0 3239 71595 11834 0 0 0 0 107097 0 0 8344 0 51
SaveFH: 8344,
SecInfo: 0,
SetAttr: 0,
SetClientId: 134,
SetClientIdConfirm: 134,
SetClientID: 134,
SetClientIDConfirm: 134,
Verify: 0,
Write: 0,
RelLockOwner: 0,
@@ -599,8 +599,8 @@ proc4ops 39 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
SaveFH: 0,
SecInfo: 0,
SetAttr: 0,
SetClientId: 0,
SetClientIdConfirm: 0,
SetClientID: 0,
SetClientIDConfirm: 0,
Verify: 0,
Write: 39,
RelLockOwner: 0,

0 comments on commit 8d4a27e

Please sign in to comment.