File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ func (g *NotifyService) Notify(body string) (exit int, err error) {
28
28
if isPlan {
29
29
if result .HasDestroy && cfg .WarnDestroy {
30
30
// Notify destroy warning as a new comment before normal plan result
31
- if err = g .notifyDestoryWarning (body , result ); err != nil {
31
+ if err = g .notifyDestroyWarning (body , result ); err != nil {
32
32
return result .ExitCode , err
33
33
}
34
34
}
@@ -102,7 +102,7 @@ func (g *NotifyService) Notify(body string) (exit int, err error) {
102
102
})
103
103
}
104
104
105
- func (g * NotifyService ) notifyDestoryWarning (body string , result terraform.ParseResult ) error {
105
+ func (g * NotifyService ) notifyDestroyWarning (body string , result terraform.ParseResult ) error {
106
106
cfg := g .client .Config
107
107
destroyWarningTemplate := g .client .Config .DestroyWarningTemplate
108
108
destroyWarningTemplate .SetValue (terraform.CommonTemplate {
You can’t perform that action at this time.
0 commit comments