mirror of
https://github.com/kevin-DL/services.git
synced 2026-01-11 19:04:35 +00:00
fix regex matching in app and function services
This commit is contained in:
@@ -23,7 +23,7 @@ var (
|
||||
OwnerKey = "app/owner/"
|
||||
ServiceKey = "app/service/"
|
||||
ReservationKey = "app/reservation/"
|
||||
NameFormat = regexp.MustCompilePOSIX("[a-z0-9]+")
|
||||
NameFormat = regexp.MustCompilePOSIX("^[a-z0-9]+$")
|
||||
)
|
||||
|
||||
type Reservation struct {
|
||||
|
||||
Reference in New Issue
Block a user