Skip to content

Commit

Permalink
Fix false positive linter warning. The conversion is needed on some a…
Browse files Browse the repository at this point in the history
…rchs
  • Loading branch information
aduffeck committed Aug 8, 2024
1 parent 18e2dc7 commit 38b71cb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/storage/fs/posix/timemanager/timemanager.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ func (m *Manager) CTime(ctx context.Context, n *node.Node) (time.Time, error) {
}

stat := fi.Sys().(*syscall.Stat_t)
//nolint:unconvert
return time.Unix(int64(stat.Ctim.Sec), int64(stat.Ctim.Nsec)), nil
}

Expand Down

0 comments on commit 38b71cb

Please sign in to comment.