Skip to content

Commit

Permalink
fixing issue docker#26, error 100
Browse files Browse the repository at this point in the history
Signed-off-by: Robert Springer <springi99@gmail.com>
  • Loading branch information
springi99 committed Jul 27, 2015
1 parent b68985b commit c59969d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion store/etcd/etcd.go
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ func (s *Etcd) Get(key string) (pair *store.KVPair, err error) {
if err != nil {
if etcdError, ok := err.(*etcd.EtcdError); ok {
// Not a Directory or Not a file
if etcdError.ErrorCode == 102 || etcdError.ErrorCode == 104 {
if etcdError.ErrorCode == 100 || etcdError.ErrorCode == 102 || etcdError.ErrorCode == 104 {
return nil, store.ErrKeyNotFound
}
}
Expand Down

0 comments on commit c59969d

Please sign in to comment.