Skip to content

Commit

Permalink
Merge pull request #675 from pankit/master
Browse files Browse the repository at this point in the history
Allow + in container ID
  • Loading branch information
LK4D4 committed May 25, 2016
2 parents dcb0750 + 4629512 commit d578986
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libcontainer/factory_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const (
)

var (
idRegex = regexp.MustCompile(`^[\w-\.]+$`)
idRegex = regexp.MustCompile(`^[\w+-\.]+$`)
maxIdLen = 1024
)

Expand Down

0 comments on commit d578986

Please sign in to comment.