fix err variable assignment + gofmt
This commit is contained in:
parent
70f1a837b0
commit
fe5a8e9a87
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue