Skip to content

Commit 07243f3

Browse files
committed
SUMO-169842: improved error msg
1 parent d7b846b commit 07243f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sumologic/resource_sumologic_monitors_library_monitor.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ func resourceSumologicMonitorsLibraryMonitor() *schema.Resource {
272272
Type: schema.TypeString,
273273
Optional: true,
274274
Computed: true,
275-
ValidateFunc: validation.StringMatch(regexp.MustCompile(`((\d)+[smh])+`), "this value is bad"),
275+
ValidateFunc: validation.StringMatch(regexp.MustCompile(`((\d)+[smh])+`), "This value is not in correct format. Example: 1m30s"),
276276
},
277277

278278
"is_locked": {

0 commit comments

Comments
 (0)