Fix spelling (#2567)

This commit is contained in:
CyrusNajmabadi 2019-03-19 11:35:17 -07:00 committed by GitHub
parent a1bb16407d
commit ca373c1c1e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 8 deletions

View file

@ -59,19 +59,19 @@ const (
type OpType string type OpType string
const ( const (
// OpSame indiciates no change was made. // OpSame indicates no change was made.
OpSame OpType = "same" OpSame OpType = "same"
// OpCreate indiciates a new resource was created. // OpCreate indicates a new resource was created.
OpCreate OpType = "create" OpCreate OpType = "create"
// OpUpdate indicates an existing resource was updated. // OpUpdate indicates an existing resource was updated.
OpUpdate OpType = "update" OpUpdate OpType = "update"
// OpDelete indiciates an existing resource was deleted. // OpDelete indicates an existing resource was deleted.
OpDelete OpType = "delete" OpDelete OpType = "delete"
// OpReplace indicates an existing resource was replaced with a new one. // OpReplace indicates an existing resource was replaced with a new one.
OpReplace OpType = "replace" OpReplace OpType = "replace"
// OpCreateReplacement indiciates a new resource was created for a replacement. // OpCreateReplacement indicates a new resource was created for a replacement.
OpCreateReplacement OpType = "create-replacement" OpCreateReplacement OpType = "create-replacement"
// OpDeleteReplaced indiciates an existing resource was deleted after replacement. // OpDeleteReplaced indicates an existing resource was deleted after replacement.
OpDeleteReplaced OpType = "delete-replaced" OpDeleteReplaced OpType = "delete-replaced"
) )

View file

@ -35,9 +35,9 @@ import (
// ApplierOptions is a bag of configuration settings for an Applier. // ApplierOptions is a bag of configuration settings for an Applier.
type ApplierOptions struct { type ApplierOptions struct {
// DryRun indiciates if the update should not change any resource state and instead just preview changes. // DryRun indicates if the update should not change any resource state and instead just preview changes.
DryRun bool DryRun bool
// ShowLink indiciates if a link to the update persisted result should be displayed. // ShowLink indicates if a link to the update persisted result should be displayed.
ShowLink bool ShowLink bool
} }

View file

@ -47,7 +47,7 @@ const (
GitHead = "git.head" GitHead = "git.head"
// GitHeadName is the name of the HEAD ref. e.g. "refs/heads/master" or "refs/tags/v1.0.0". // GitHeadName is the name of the HEAD ref. e.g. "refs/heads/master" or "refs/tags/v1.0.0".
GitHeadName = "git.headName" GitHeadName = "git.headName"
// GitDirty ("true", "false") indiciates if there are any unstaged or modified files in the local repo. // GitDirty ("true", "false") indicates if there are any unstaged or modified files in the local repo.
GitDirty = "git.dirty" GitDirty = "git.dirty"
// GitCommitter is the name of the person who committed the commit at HEAD. // GitCommitter is the name of the person who committed the commit at HEAD.