Handle duplicate archive and package specs; handle multifile archives better (#1018)
Archives with multiple files should have all files in the inputs. Also clean up some inconsistent variable naming -- archive name, archive file path, and archive input files were all stored in incorrectly-named variables.
This commit is contained in:
committed by
Ta-Ching Chen
parent
f0c0936b87
commit
2699aa6069
+1
-1
@@ -293,7 +293,7 @@ func upgradeRestoreState(c *cli.Context) error {
|
||||
tmpfile.Close()
|
||||
|
||||
// upload
|
||||
archive := createArchive(client, tmpfile.Name(), "")
|
||||
archive := uploadArchive(client, tmpfile.Name())
|
||||
os.Remove(tmpfile.Name())
|
||||
|
||||
// create pkg
|
||||
|
||||
Reference in New Issue
Block a user