Skip to content

Commit

Permalink
Allow + in container ID
Browse files Browse the repository at this point in the history
Signed-off-by: pankit thapar <pankit@umich.edu>
  • Loading branch information
pankit committed Mar 22, 2016
1 parent 69f8a50 commit 4629512
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 @@ -26,7 +26,7 @@ const (
)

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

Expand Down

0 comments on commit 4629512

Please sign in to comment.