Skip to content

Commit

Permalink
core: fix some typos in comments
Browse files Browse the repository at this point in the history
  • Loading branch information
robphoenix authored and apparentlymart committed Jun 22, 2017
1 parent 83622cf commit de2927d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions terraform/diff.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const (
// multiVal matches the index key to a flatmapped set, list or map
var multiVal = regexp.MustCompile(`\.(#|%)$`)

// Diff trackes the changes that are necessary to apply a configuration
// Diff tracks the changes that are necessary to apply a configuration
// to an existing infrastructure.
type Diff struct {
// Modules contains all the modules that have a diff
Expand Down Expand Up @@ -370,7 +370,7 @@ type InstanceDiff struct {

// Meta is a simple K/V map that is stored in a diff and persisted to
// plans but otherwise is completely ignored by Terraform core. It is
// mean to be used for additional data a resource may want to pass through.
// meant to be used for additional data a resource may want to pass through.
// The value here must only contain Go primitives and collections.
Meta map[string]interface{}
}
Expand Down Expand Up @@ -551,7 +551,7 @@ func (d *InstanceDiff) SetDestroyDeposed(b bool) {
}

// These methods are properly locked, for use outside other InstanceDiff
// methods but everywhere else within in the terraform package.
// methods but everywhere else within the terraform package.
// TODO refactor the locking scheme
func (d *InstanceDiff) SetTainted(b bool) {
d.mu.Lock()
Expand Down

0 comments on commit de2927d

Please sign in to comment.