move utils.Fataler to pkg/log.Fataler
Docker-DCO-1.1-Signed-off-by: Erik Hollensbe <github@hollensbe.org> (github: erikh)
This commit is contained in:
parent
6d4b3605f7
commit
e53a7b767a
1 changed files with 6 additions and 0 deletions
|
@ -20,6 +20,12 @@ const (
|
||||||
debug
|
debug
|
||||||
)
|
)
|
||||||
|
|
||||||
|
// A common interface to access the Fatal method of
|
||||||
|
// both testing.B and testing.T.
|
||||||
|
type Fataler interface {
|
||||||
|
Fatal(args ...interface{})
|
||||||
|
}
|
||||||
|
|
||||||
func (p priority) String() string {
|
func (p priority) String() string {
|
||||||
switch p {
|
switch p {
|
||||||
case fatal:
|
case fatal:
|
||||||
|
|
Loading…
Reference in a new issue