Skip to content

Commit 0f4e35f

Browse files
committed
SUMO-181080 fixing the field case in error messages
1 parent 4382e70 commit 0f4e35f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sumologic/resource_sumologic_monitors_library_monitor.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ func resourceSumologicMonitorsLibraryMonitor() *schema.Resource {
274274
"description": {
275275
Type: schema.TypeString,
276276
Optional: true,
277-
ValidateFunc: validation.StringMatch(regexp.MustCompile(`^[^\ ].*[^\ ]$`), "Description must not contain leading or trailing spaces"),
277+
ValidateFunc: validation.StringMatch(regexp.MustCompile(`^[^\ ].*[^\ ]$`), "description must not contain leading or trailing spaces"),
278278
},
279279

280280
"created_at": {
@@ -331,7 +331,7 @@ func resourceSumologicMonitorsLibraryMonitor() *schema.Resource {
331331
"name": {
332332
Type: schema.TypeString,
333333
Required: true,
334-
ValidateFunc: validation.StringMatch(regexp.MustCompile(`^[^\ ].*[^\ ]$`), "Name must not contain leading or trailing spaces"),
334+
ValidateFunc: validation.StringMatch(regexp.MustCompile(`^[^\ ].*[^\ ]$`), "name must not contain leading or trailing spaces"),
335335
},
336336

337337
"post_request_map": {

0 commit comments

Comments
 (0)