fix err variable assignment + gofmt

This commit is contained in:
Lorenzo Faresin 2023-12-01 18:14:03 +01:00
parent 70f1a837b0
commit fe5a8e9a87
1 changed files with 4 additions and 4 deletions

View File

@ -144,7 +144,7 @@ func (p *nfsProvisioner) Provision(ctx context.Context, options controller.Provi
if err != nil {
return nil, "", err
}
err := os.Chown(fullPath, uid, gid)
err = os.Chown(fullPath, uid, gid)
if err != nil {
return nil, "", err
}