mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-21 10:09:07 +00:00
Fix sriov flag on AWS
This needs to be set to nil if empty. Signed-off-by: Justin Cormack <justin@specialbusservice.com>
This commit is contained in:
parent
d19adc172f
commit
1e97929ec5
@ -48,6 +48,9 @@ func pushAWS(args []string) {
|
|||||||
timeout := getIntValue(timeoutVar, *timeoutFlag, 600)
|
timeout := getIntValue(timeoutVar, *timeoutFlag, 600)
|
||||||
bucket := getStringValue(bucketVar, *bucketFlag, "")
|
bucket := getStringValue(bucketVar, *bucketFlag, "")
|
||||||
name := getStringValue(nameVar, *nameFlag, "")
|
name := getStringValue(nameVar, *nameFlag, "")
|
||||||
|
if *sriovNetFlag == "" {
|
||||||
|
sriovNetFlag = nil
|
||||||
|
}
|
||||||
|
|
||||||
sess := session.Must(session.NewSession())
|
sess := session.Must(session.NewSession())
|
||||||
storage := s3.New(sess)
|
storage := s3.New(sess)
|
||||||
|
Loading…
Reference in New Issue
Block a user