Bumping k8s dependencies to 1.13

This commit is contained in:
Cheng Xing
2018-11-16 14:08:25 -08:00
parent 305407125c
commit b4c0b68ec7
8002 changed files with 884099 additions and 276228 deletions

View File

@@ -209,7 +209,7 @@ func TestRepeatedExtensionsMsgsIssue161(t *testing.T) {
t.Fatal(err)
}
if !input.Equal(output) {
t.Fatal("expected equal")
t.Fatalf("want %#v but got %#v", input, output)
}
data2, err2 := proto.Marshal(output)
if err2 != nil {
@@ -240,7 +240,7 @@ func TestRepeatedExtensionsFieldsIssue161(t *testing.T) {
t.Fatal(err)
}
if !input.Equal(output) {
t.Fatal("expected equal")
t.Fatalf("want %#v but got %#v", input, output)
}
data2, err2 := proto.Marshal(output)
if err2 != nil {

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -47,6 +47,10 @@ func PutLittleEndianUint64(b []byte, offset int, v uint64) {
type Uuid []byte
func (uuid Uuid) Bytes() []byte {
return uuid
}
func (uuid Uuid) Marshal() ([]byte, error) {
if len(uuid) == 0 {
return nil, nil