mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
client/keys.generated.go: remove redundant and: x.Expiration != nil
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
This commit is contained in:
parent
cd859cfaa3
commit
1b2a62d9d0
@ -8,10 +8,11 @@ package client
|
||||
import (
|
||||
"errors"
|
||||
"fmt"
|
||||
codec1978 "github.com/ugorji/go/codec"
|
||||
"reflect"
|
||||
"runtime"
|
||||
time "time"
|
||||
|
||||
codec1978 "github.com/ugorji/go/codec"
|
||||
)
|
||||
|
||||
const (
|
||||
@ -2172,7 +2173,7 @@ func (x *Node) CodecEncodeSelf(e *codec1978.Encoder) {
|
||||
_, _ = yysep2, yy2arr2
|
||||
const yyr2 bool = false
|
||||
yyq2[1] = x.Dir != false
|
||||
yyq2[6] = x.Expiration != nil && x.Expiration != nil
|
||||
yyq2[6] = x.Expiration != nil
|
||||
yyq2[7] = x.TTL != 0
|
||||
if yyr2 || yy2arr2 {
|
||||
r.WriteArrayStart(8)
|
||||
|
Loading…
x
Reference in New Issue
Block a user