mirror of
https://github.com/restic/restic.git
synced 2026-02-11 06:43:44 -05:00
ignore linter warning
This commit is contained in:
parent
56ac8360c7
commit
70a24cca85
1 changed files with 2 additions and 0 deletions
|
|
@ -14,6 +14,8 @@ import (
|
|||
)
|
||||
|
||||
// UidGidInt returns uid, gid of the user as a number.
|
||||
//
|
||||
//nolint:revive // captialization is correct as is
|
||||
func UidGidInt(u *user.User) (uid, gid uint32, err error) {
|
||||
ui, err := strconv.ParseUint(u.Uid, 10, 32)
|
||||
if err != nil {
|
||||
|
|
|
|||
Loading…
Reference in a new issue