Fixed various typos

Just a bunch of nit-picky typo fixes.
This commit is contained in:
Christian Muehlhaeuser 2019-07-25 06:49:51 +02:00
parent c4806e2fe4
commit 216afbaa8b
No known key found for this signature in database
GPG Key ID: 3CF9FA45CA1EBB7E
7 changed files with 7 additions and 7 deletions

View File

@ -28,7 +28,7 @@ func (s *stepCheckAlicloudSourceImage) Run(ctx context.Context, state multistep.
images := imagesResponse.Images.Image images := imagesResponse.Images.Image
// Describe markerplace image // Describe marketplace image
describeImagesRequest.ImageOwnerAlias = "marketplace" describeImagesRequest.ImageOwnerAlias = "marketplace"
marketImagesResponse, err := client.DescribeImages(describeImagesRequest) marketImagesResponse, err := client.DescribeImages(describeImagesRequest)
if err != nil { if err != nil {

View File

@ -178,7 +178,7 @@ func (c *AccessConfig) Prepare(ctx *interpolate.Context) []error {
} }
// Make sure it's obvious from the config how we're getting credentials: // Make sure it's obvious from the config how we're getting credentials:
// Vault, Packer config, or environemnt. // Vault, Packer config, or environment.
if !c.VaultAWSEngine.Empty() { if !c.VaultAWSEngine.Empty() {
if len(c.AccessKey) > 0 { if len(c.AccessKey) > 0 {
errs = append(errs, errs = append(errs,

View File

@ -35,7 +35,7 @@ type StateChangeConf struct {
} }
// Following are wrapper functions that use Packer's environment-variables to // Following are wrapper functions that use Packer's environment-variables to
// determing retry logic, then call the AWS SDK's built-in waiters. // determine retry logic, then call the AWS SDK's built-in waiters.
func WaitUntilAMIAvailable(ctx aws.Context, conn ec2iface.EC2API, imageId string) error { func WaitUntilAMIAvailable(ctx aws.Context, conn ec2iface.EC2API, imageId string) error {
imageInput := ec2.DescribeImagesInput{ imageInput := ec2.DescribeImagesInput{

View File

@ -11,7 +11,7 @@ package arm
// //
// The subscription in question should have a resource group // The subscription in question should have a resource group
// called "packer-acceptance-test" in "South Central US" region. The // called "packer-acceptance-test" in "South Central US" region. The
// storage account refered to in the above variable should // storage account referred to in the above variable should
// be inside this resource group and in "South Central US" as well. // be inside this resource group and in "South Central US" as well.
// //
// In addition, the PACKER_ACC variable should also be set to // In addition, the PACKER_ACC variable should also be set to

View File

@ -56,7 +56,7 @@ func (s *StepDeleteResourceGroup) deleteResourceGroup(ctx context.Context, state
f, err := s.client.GroupsClient.Delete(ctx, resourceGroupName) f, err := s.client.GroupsClient.Delete(ctx, resourceGroupName)
if err == nil { if err == nil {
if state.Get(constants.ArmAsyncResourceGroupDelete).(bool) { if state.Get(constants.ArmAsyncResourceGroupDelete).(bool) {
// No need to wait for the complition for delete if request is Accepted // No need to wait for the completion for delete if request is Accepted
s.say(fmt.Sprintf("\nResource Group is being deleted, not waiting for deletion due to config. Resource Group Name '%s'", resourceGroupName)) s.say(fmt.Sprintf("\nResource Group is being deleted, not waiting for deletion due to config. Resource Group Name '%s'", resourceGroupName))
} else { } else {
f.WaitForCompletionRef(ctx, s.client.GroupsClient.Client) f.WaitForCompletionRef(ctx, s.client.GroupsClient.Client)

View File

@ -18,7 +18,7 @@ type Config struct {
common.PackerConfig `mapstructure:",squash"` common.PackerConfig `mapstructure:",squash"`
// ** DEPRECATED: USE INLINE INSTEAD ** // ** DEPRECATED: USE INLINE INSTEAD **
// ** Only Present for backwards compatibiltiy ** // ** Only Present for backwards compatibility **
// Command is the command to execute // Command is the command to execute
Command string Command string

View File

@ -16,7 +16,7 @@ const HookProvision = "packer_provision"
// in. In addition to that, the Hook is given access to a UI so that it can // in. In addition to that, the Hook is given access to a UI so that it can
// output things to the user. // output things to the user.
// //
// The first context argument controlls cancellation, the context will usually // The first context argument controls cancellation, the context will usually
// be called when Run is still in progress so the mechanism that handles this // be called when Run is still in progress so the mechanism that handles this
// must be race-free. Cancel should attempt to cancel the hook in the quickest, // must be race-free. Cancel should attempt to cancel the hook in the quickest,
// safest way possible. // safest way possible.