Skip to content

Commit a207b43

Browse files
committed
snapshots/blockfile: fix lint issue
Signed-off-by: Wei Fu <[email protected]>
1 parent 59b0b39 commit a207b43

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

snapshots/blockfile/blockfile.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,8 @@ func WithRecreateScratch(recreate bool) Opt {
101101

102102
// withViewHookHelper introduces hook for preparing snapshot for View. It
103103
// should be used in test only.
104+
//
105+
//nolint:nolintlint,unused // not used on all platforms
104106
func withViewHookHelper(fn viewHookHelper) Opt {
105107
return func(_ string, config *SnapshotterConfig) {
106108
config.testViewHookHelper = fn

0 commit comments

Comments
 (0)