vendor: bump to Kube 1.9/master
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
This commit is contained in:
parent
7076c73172
commit
7a675ccd92
202 changed files with 8543 additions and 7270 deletions
8
vendor/k8s.io/apimachinery/pkg/apis/meta/v1/time.go
generated
vendored
8
vendor/k8s.io/apimachinery/pkg/apis/meta/v1/time.go
generated
vendored
|
@ -80,7 +80,13 @@ func (t *Time) Before(u *Time) bool {
|
|||
|
||||
// Equal reports whether the time instant t is equal to u.
|
||||
func (t *Time) Equal(u *Time) bool {
|
||||
return t.Time.Equal(u.Time)
|
||||
if t == nil && u == nil {
|
||||
return true
|
||||
}
|
||||
if t != nil && u != nil {
|
||||
return t.Time.Equal(u.Time)
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
// Unix returns the local time corresponding to the given Unix time
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue