| Index: cipd/client/cipd/ensure/item_parsers.go
|
| diff --git a/cipd/client/cipd/ensure/item_parsers.go b/cipd/client/cipd/ensure/item_parsers.go
|
| index 7e6c8ac2a190df504d0a2538dd7285865a049876..e4da252bd9db01117e08dfb0c72954ca21380045 100644
|
| --- a/cipd/client/cipd/ensure/item_parsers.go
|
| +++ b/cipd/client/cipd/ensure/item_parsers.go
|
| @@ -7,6 +7,8 @@ package ensure
|
| import (
|
| "fmt"
|
| "net/url"
|
| +
|
| + "github.com/luci/luci-go/cipd/client/cipd/common"
|
| )
|
|
|
| // an itemParser should parse the value from `val`, and update s or
|
| @@ -20,7 +22,7 @@ type itemParserState struct {
|
| }
|
|
|
| func rootParser(s *itemParserState, _ *File, val string) error {
|
| - if err := ValidateRoot(val); err != nil {
|
| + if err := common.ValidateRoot(val); err != nil {
|
| return err
|
| }
|
| s.curRoot = val
|
|
|