-
Notifications
You must be signed in to change notification settings - Fork 9.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
client: upgrade github.com/ugorji/go to v1.1.2 #10481
Conversation
Codecov Report
@@ Coverage Diff @@
## master #10481 +/- ##
==========================================
+ Coverage 71.5% 71.53% +0.03%
==========================================
Files 392 392
Lines 36518 36518
==========================================
+ Hits 26111 26123 +12
+ Misses 8576 8573 -3
+ Partials 1831 1822 -9
Continue to review full report at Codecov.
|
client/keys.generated.go
Outdated
@@ -1819,20 +1915,25 @@ func (x *Node) CodecEncodeSelf(e *codec1978.Encoder) { | |||
} | |||
} | |||
r.WriteMapStart(yynn2) | |||
yynn2 = 0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This line needs to be manually removed yynn2 = 0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
that will resolve this https://travis-ci.com/etcd-io/etcd/jobs/178290492#L586
Also please update you commit message per https://github.com/etcd-io/etcd/blob/master/CONTRIBUTING.md#format-of-the-commit-message maybe |
@hexfusion done :-) |
@hnlq715 thanks for the changes. I will review this later today/tonight. |
Generally this looks good ugorji/go is now stating that codec is a module on its own this si why we are now depending on codec directly ugorji/go#279. But I seem to be getting different output when I regenerate client so I want to better understand that. Thanks for you patience we want to make sure this is done right! |
@@ -42,7 +42,7 @@ require ( | |||
github.com/spf13/pflag v1.0.1 | |||
github.com/stretchr/testify v1.2.2 // indirect | |||
github.com/tmc/grpc-websocket-proxy v0.0.0-20170815181823-89b8d40f7ca8 | |||
github.com/ugorji/go v1.1.1 | |||
github.com/ugorji/go/codec v0.0.0-20190204201341-e444a5086c43 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For anyone curious this is valid ugorji/go#279
Conflicts are resolved :-) |
@hexfusion Any updates? :-) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@hnlq715 thanks for your patience, this looks good rebase against master and we will merged.
To clarify we want two commits here you currently have 5
let me know if you need help on the rebase |
66a1919
to
4239e08
Compare
We are now bumping github.com/urfave/cli to v1.20.0. That wasn't part of the plan but we can use it I added the note above. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! @hnlq715 I really appreciate the effort here, nice work.
Thanks for your help @hexfusion |
/cc @xiang90 |
lgtm |
#10477
this PR fixes panic when updating github.com/ugorji/go to v1.1.2
maintainer note: also bumping github.com/urfave/cli to v1.20.0