mirror of https://github.com/jetkvm/kvm.git
fix: make linter happy
This commit is contained in:
parent
05d7220fd5
commit
419f3da163
|
@ -29,7 +29,7 @@ func checkIfSymlinksInOrder(fc *FileChange, logger *zerolog.Logger) (FileState,
|
||||||
}
|
}
|
||||||
l := logger.With().Str("path", fc.Path).Logger()
|
l := logger.With().Str("path", fc.Path).Logger()
|
||||||
|
|
||||||
if fc.ParamSymlinks == nil || len(fc.ParamSymlinks) == 0 {
|
if len(fc.ParamSymlinks) == 0 {
|
||||||
return FileStateUnknown, fmt.Errorf("no symlinks to check")
|
return FileStateUnknown, fmt.Errorf("no symlinks to check")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue