Skip to content

Commit acc2448

Browse files
committed
fmt
1 parent 19bfec1 commit acc2448

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

internal/services/manageddevopspools/managed_devops_pool_data_source.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ func (ManagedDevOpsPoolDataSource) Arguments() map[string]*pluginsdk.Schema {
4646
ForceNew: true,
4747
ValidateFunc: validation.StringMatch(
4848
regexp.MustCompile(`^[a-zA-Z0-9][a-zA-Z0-9-.]{1,42}[a-zA-Z0-9-]$`),
49-
"`name` can only include alphanumeric characters, periods (.) and hyphens (-). It must also start with alphanumeric characters and cannot end with periods (.) and length between 3 and 44.",
49+
"`name` can only include alphanumeric characters, periods (.) and hyphens (-). It must also start with alphanumeric characters and cannot end with periods (.) and length between 3 and 44.",
5050
),
5151
},
5252

internal/services/manageddevopspools/managed_devops_pool_resource.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,9 @@ func (ManagedDevOpsPoolResource) Arguments() map[string]*pluginsdk.Schema {
5555
ValidateFunc: validation.All(
5656
validation.StringLenBetween(3, 44),
5757
validation.StringMatch(
58-
regexp.MustCompile(`^[a-zA-Z0-9][a-zA-Z0-9-.]{1,42}[a-zA-Z0-9-]$`),
59-
"`name` can only include alphanumeric characters, periods (.) and hyphens (-). It must also start with alphanumeric characters and cannot end with periods (.) and length between 3 and 44.",
60-
),
58+
regexp.MustCompile(`^[a-zA-Z0-9][a-zA-Z0-9-.]{1,42}[a-zA-Z0-9-]$`),
59+
"`name` can only include alphanumeric characters, periods (.) and hyphens (-). It must also start with alphanumeric characters and cannot end with periods (.) and length between 3 and 44.",
60+
),
6161
),
6262
},
6363

0 commit comments

Comments
 (0)