mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-19 09:16:29 +00:00
Merge pull request #1969 from DieterReuter/fix-aws-default-img-name
Fix empty AWS default image name
This commit is contained in:
commit
3f8d627be6
@ -65,7 +65,7 @@ func pushAWS(args []string) {
|
||||
defer f.Close()
|
||||
|
||||
if name == "" {
|
||||
name = strings.TrimSuffix(name, filepath.Ext(src))
|
||||
name = strings.TrimSuffix(src, filepath.Ext(src))
|
||||
}
|
||||
|
||||
content, err := ioutil.ReadAll(f)
|
||||
|
Loading…
Reference in New Issue
Block a user