mirror of https://github.com/docker/docs.git
pkg/store: Remove unsused ErrSessionUndefined from consul.
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
This commit is contained in:
parent
9d055d6bf8
commit
04f7d2ac10
|
|
@ -2,7 +2,6 @@ package store
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"crypto/tls"
|
"crypto/tls"
|
||||||
"errors"
|
|
||||||
"net/http"
|
"net/http"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
|
|
@ -10,11 +9,6 @@ import (
|
||||||
api "github.com/hashicorp/consul/api"
|
api "github.com/hashicorp/consul/api"
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
|
||||||
// ErrSessionUndefined is exported
|
|
||||||
ErrSessionUndefined = errors.New("Session does not exist")
|
|
||||||
)
|
|
||||||
|
|
||||||
// Consul embeds the client and watches
|
// Consul embeds the client and watches
|
||||||
type Consul struct {
|
type Consul struct {
|
||||||
config *api.Config
|
config *api.Config
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue