Skip to content

Commit f44da75

Browse files
author
John Shahid
committed
Fix a typo
Authored-by: John Shahid <[email protected]>
1 parent 17428a7 commit f44da75

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

grafana/resource_alert_notification.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import (
1212
)
1313

1414
var (
15-
ErrFrequenceMustBeSet = errors.New("frequency must be set when send_reminder is set to 'true'")
15+
ErrFrequencyMustBeSet = errors.New("frequency must be set when send_reminder is set to 'true'")
1616
)
1717

1818
func ResourceAlertNotification() *schema.Resource {
@@ -166,7 +166,7 @@ func makeAlertNotification(d *schema.ResourceData) (*gapi.AlertNotification, err
166166

167167
if sendReminder {
168168
if frequency == "" {
169-
return nil, ErrFrequenceMustBeSet
169+
return nil, ErrFrequencyMustBeSet
170170
}
171171

172172
if _, err := time.ParseDuration(frequency); err != nil {

0 commit comments

Comments
 (0)