Change ImageUpload to open file once

When uploading an image via REST without a file name,
the image upload code closes the file twice, triggering
the inotify twice.

Resolves openbmc/openbmc#2174

Change-Id: I24ff920c745b865bb4e25468e1895b38abf4a592
Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
1 file changed
tree: b359239a64b813557df6401009182c6a944f69e8
  1. module/
  2. servers/
  3. LICENSE