Merge pull request #50143 from gmarek/microtime

Automatic merge from submit-queue (batch tested with PRs 49868, 50143, 49377, 50141, 50145)

Add metav1.MicroTime to exceptions in tag tests
This commit is contained in:
Kubernetes Submit Queue 2017-08-07 04:04:55 -07:00 committed by GitHub
commit 293ab0f855

View File

@ -73,6 +73,7 @@ func TestTypeTags(t *testing.T) {
var typesAllowedTags = map[reflect.Type]bool{
reflect.TypeOf(intstr.IntOrString{}): true,
reflect.TypeOf(metav1.Time{}): true,
reflect.TypeOf(metav1.MicroTime{}): true,
reflect.TypeOf(metav1.Duration{}): true,
reflect.TypeOf(metav1.TypeMeta{}): true,
reflect.TypeOf(metav1.ListMeta{}): true,