Skip to content

Commit

Permalink
Merge pull request #76 from moemoe89/fix-typo
Browse files Browse the repository at this point in the history
fix typo on readme and godoc
  • Loading branch information
b4b4r07 authored Jun 20, 2020
2 parents c8c8bae + 6baf05b commit 43c307c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ $ go get -u github.com/mercari/tfnotify
2. Bind parsed results to Go templates
3. Notify it to any platform (e.g. GitHub) as you like

Detailed specifications such as templates and notification destinations can be customized from the configration files (described later).
Detailed specifications such as templates and notification destinations can be customized from the configuration files (described later).

## Usage

Expand Down
8 changes: 4 additions & 4 deletions terraform/template.go
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ func generateOutput(kind, template string, data map[string]interface{}, useRawOu
return b.String(), nil
}

// Execute binds the execution result of terraform command into tepmlate
// Execute binds the execution result of terraform command into template
func (t *DefaultTemplate) Execute() (string, error) {
data := map[string]interface{}{
"Title": t.Title,
Expand All @@ -237,7 +237,7 @@ func (t *DefaultTemplate) Execute() (string, error) {
return resp, nil
}

// Execute binds the execution result of terraform fmt into tepmlate
// Execute binds the execution result of terraform fmt into template
func (t *FmtTemplate) Execute() (string, error) {
data := map[string]interface{}{
"Title": t.Title,
Expand All @@ -255,7 +255,7 @@ func (t *FmtTemplate) Execute() (string, error) {
return resp, nil
}

// Execute binds the execution result of terraform plan into tepmlate
// Execute binds the execution result of terraform plan into template
func (t *PlanTemplate) Execute() (string, error) {
data := map[string]interface{}{
"Title": t.Title,
Expand Down Expand Up @@ -291,7 +291,7 @@ func (t *DestroyWarningTemplate) Execute() (string, error) {
return resp, nil
}

// Execute binds the execution result of terraform apply into tepmlate
// Execute binds the execution result of terraform apply into template
func (t *ApplyTemplate) Execute() (string, error) {
data := map[string]interface{}{
"Title": t.Title,
Expand Down

0 comments on commit 43c307c

Please sign in to comment.