Fix alicloud-ecs typo

* Fix typo: internet_max_bandwith_out -> internet_max_bandwidth_out
This commit is contained in:
Kent Wang 2017-06-11 16:03:28 +08:00
parent 6da9802a33
commit e59678a033
2 changed files with 3 additions and 3 deletions

View File

@ -4,11 +4,11 @@ import (
"errors"
"fmt"
"os"
"strings"
"github.com/hashicorp/packer/common/uuid"
"github.com/hashicorp/packer/helper/communicator"
"github.com/hashicorp/packer/template/interpolate"
"strings"
)
type RunConfig struct {
@ -30,7 +30,7 @@ type RunConfig struct {
VSwitchName string `mapstructure:"vswitch_id"`
InstanceName string `mapstructure:"instance_name"`
InternetChargeType string `mapstructure:"internet_charge_type"`
InternetMaxBandwidthOut int `mapstructure:"internet_max_bandwith_out"`
InternetMaxBandwidthOut int `mapstructure:"internet_max_bandwidth_out"`
TemporaryKeyPairName string `mapstructure:"temporary_key_pair_name"`
// Communicator settings

View File

@ -173,7 +173,7 @@ builder.
If this parameter is not specified, the default value is `PayByBandwidth`.
- `internet_max_bandwith_out` (string) - Maximum outgoing bandwidth to the public
- `internet_max_bandwidth_out` (string) - Maximum outgoing bandwidth to the public
network, measured in Mbps (Mega bit per second).
Value range: