remove redundant file Close
Signed-off-by: allencloud <allen.sun@daocloud.io> Upstream-commit: 3dca62cfb1e7c6404cb4730425919f66c680b409 Component: engine
This commit is contained in:
@@ -84,7 +84,6 @@ func InstallDefault(name string) error {
|
||||
defer os.Remove(profilePath)
|
||||
|
||||
if err := p.generateDefault(f); err != nil {
|
||||
f.Close()
|
||||
return err
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user