remove redundant file Close
Signed-off-by: allencloud <allen.sun@daocloud.io>
This commit is contained in:
parent
c6d69ea9e9
commit
3dca62cfb1
1 changed files with 0 additions and 1 deletions
|
@ -84,7 +84,6 @@ func InstallDefault(name string) error {
|
|||
defer os.Remove(profilePath)
|
||||
|
||||
if err := p.generateDefault(f); err != nil {
|
||||
f.Close()
|
||||
return err
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue