Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion command/build_parallel_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ func (b *ParallelTestBuilder) Run(ctx context.Context, ui packersdk.Ui, hook pac
return nil, nil
}

// LockedBuilder wont run until unlock is called
// LockedBuilder won't run until unlock is called
type LockedBuilder struct{ unlock chan interface{} }

func (b *LockedBuilder) ConfigSpec() hcldec.ObjectSpec { return nil }
Expand Down
2 changes: 1 addition & 1 deletion hcl2template/parser.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ const (
//
// Parse returns a PackerConfig that contains configuration layout of a packer
// build; sources(builders)/provisioners/posts-processors will not be started
// and their contents wont be verified; Most syntax errors will cause an error,
// and their contents won't be verified; Most syntax errors will cause an error,
// init should be called next to expand dynamic blocks and verify that used
// things do exist.
func (p *Parser) Parse(filename string, varFiles []string, argVars map[string]string) (*PackerConfig, hcl.Diagnostics) {
Expand Down
2 changes: 1 addition & 1 deletion hcl2template/types.variables.go
Original file line number Diff line number Diff line change
Expand Up @@ -561,7 +561,7 @@ func looksLikeSentences(s string) bool {
last := runes[len(runes)-1]

// If the first rune is a letter then it must be an uppercase letter. To
// sorts of nudge people into writting sentences. For alphabets that don't
// sort of nudge people into writing sentences. For alphabets that don't
// have the notion of 'upper', this does nothing.
if unicode.IsLetter(first) && !unicode.IsUpper(first) {
return false
Expand Down
2 changes: 1 addition & 1 deletion helper/wrappedreadline/wrappedreadline.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
// passed by panicwrap to fix that.
//
// panicwrap should be checked for with panicwrap.Wrapped before using this
// librar, since this library won't adapt if the binary is not wrapped.
// library, since this library won't adapt if the binary is not wrapped.
package wrappedreadline

import (
Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ func main() {
func realMain() int {
var wrapConfig panicwrap.WrapConfig
// When following env variable is set, packer
// wont panic wrap itself as it's already wrapped.
// won't panic wrap itself as it's already wrapped.
// i.e.: when terraform runs it.
wrapConfig.CookieKey = "PACKER_WRAP_COOKIE"
wrapConfig.CookieValue = "49C22B1A-3A93-4C98-97FA-E07D18C787B5"
Expand Down
2 changes: 1 addition & 1 deletion packer/core_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -706,7 +706,7 @@ func TestIsDoneInterpolating(t *testing.T) {
expectedErr bool
}{
// Many of these tests are just exercising the regex to make sure it
// doesnt get confused by different kinds of whitespace
// doesn't get confused by different kinds of whitespace
{"charmander-{{ user `spacesaroundticks` }}", false, false},
{"pidgey-{{ user `partyparrot`}}", false, false},
{"jigglypuff-{{ user`notickspaaces`}}", false, false},
Expand Down
2 changes: 1 addition & 1 deletion packer/plugin_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ func (c *PluginClient) Start() (net.Addr, error) {
}()

// Make sure after we exit we read the lines from stdout forever
// so they dont' block since it is an io.Pipe
// so they don't block since it is an io.Pipe
defer func() {
go func() {
for range linesCh {
Expand Down
2 changes: 1 addition & 1 deletion packer_test/common/plugin_tester/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Packer Test Plugin

This directory is meant to be a minimal plugin that we can use for testing Packer.
Any components defined in this plugin are not for use, as they virtually do nothing, and are only here to test Packer's core capabilitities
Any components defined in this plugin are not for use, as they virtually do nothing, and are only here to test Packer's core capabilities

2 changes: 1 addition & 1 deletion packer_test/common/plugin_tester/docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ The Scaffolding plugin is intended as a starting point for creating Packer plugi

### Provisioners

- [provisioner](/docs/provisioners/provisioner-name.mdx) - The scaffolding provisioner is used to provisioner
- [provisioner](/docs/provisioners/provisioner-name.mdx) - The scaffolding provisioner is used to provision
Packer builds.

### Post-processors
Expand Down