mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-21 10:09:07 +00:00
Fix empty AWS default image name
Signed-off-by: Dieter Reuter <dieter.reuter@me.com>
This commit is contained in:
parent
c5834261a2
commit
fc5135b5cc
@ -65,7 +65,7 @@ func pushAWS(args []string) {
|
|||||||
defer f.Close()
|
defer f.Close()
|
||||||
|
|
||||||
if name == "" {
|
if name == "" {
|
||||||
name = strings.TrimSuffix(name, filepath.Ext(src))
|
name = strings.TrimSuffix(src, filepath.Ext(src))
|
||||||
}
|
}
|
||||||
|
|
||||||
content, err := ioutil.ReadAll(f)
|
content, err := ioutil.ReadAll(f)
|
||||||
|
Loading…
Reference in New Issue
Block a user