| Index: service/info/wrapper.go
|
| diff --git a/service/info/wrapper.go b/service/info/wrapper.go
|
| deleted file mode 100644
|
| index 76f84af2f7e592dc19bc947994af05b6c420ab22..0000000000000000000000000000000000000000
|
| --- a/service/info/wrapper.go
|
| +++ /dev/null
|
| @@ -1,30 +0,0 @@
|
| -// Copyright 2016 The LUCI Authors. All rights reserved.
|
| -// Use of this source code is governed under the Apache License, Version 2.0
|
| -// that can be found in the LICENSE file.
|
| -
|
| -package info
|
| -
|
| -import (
|
| - "strings"
|
| -
|
| - "golang.org/x/net/context"
|
| -)
|
| -
|
| -type infoImpl struct {
|
| - RawInterface
|
| -}
|
| -
|
| -var _ Interface = infoImpl{}
|
| -
|
| -func (i infoImpl) MustNamespace(namespace string) context.Context {
|
| - ret, err := i.Namespace(namespace)
|
| - if err != nil {
|
| - panic(err)
|
| - }
|
| - return ret
|
| -}
|
| -
|
| -func (i infoImpl) TrimmedAppID() string {
|
| - toks := strings.Split(i.AppID(), ":")
|
| - return toks[len(toks)-1]
|
| -}
|
|
|