Merge pull request #13973 from Luap99/linter-revive

replace golint with revive linter
This commit is contained in:
OpenShift Merge Robot
2022-04-23 06:32:41 -04:00
committed by GitHub
31 changed files with 59 additions and 53 deletions

View File

@ -3134,7 +3134,7 @@ func (c *Container) getOCICgroupPath() (string, error) {
}
func (c *Container) copyTimezoneFile(zonePath string) (string, error) {
var localtimeCopy string = filepath.Join(c.state.RunDir, "localtime")
localtimeCopy := filepath.Join(c.state.RunDir, "localtime")
file, err := os.Stat(zonePath)
if err != nil {
return "", err