Skip to content

Commit c8dccdb

Browse files
authored
Merge pull request #6876 from devtron-labs/project-validation-patch
feat: Increase max length for TeamRequest name field
2 parents 8b1d6a4 + 29cdaea commit c8dccdb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/team/bean/bean.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66

77
type TeamRequest struct {
88
Id int `json:"id,omitempty" validate:"number"`
9-
Name string `json:"name,omitempty" validate:"required,max=20,validate-devtron-entity-name"`
9+
Name string `json:"name,omitempty" validate:"required,max=25,validate-devtron-entity-name"`
1010
Active bool `json:"active"`
1111
UserId int32 `json:"-"`
1212
CreatedOn time.Time `json:"-"`

0 commit comments

Comments
 (0)