• Monis Khan's avatar
    Update etcd path test to always use kindWhiteList · 3ab143bc
    Monis Khan authored
    Most types now have valid rest mappings because
    NewDefaultRESTMapperFromScheme no longer ignores certain import
    paths.  Thus we can no longer use the lack of a valid REST mapping
    as an indicator for when to use kindWhiteList.  Thus kindWhiteList
    now serves as a whitelist for all kinds and not just those that
    formally had no mapping.  This does mean that we could whitelist
    kinds due to a name conflict, but that is unlikely as names such as
    GetOptions are not appropriate for new objects.
    Signed-off-by: 's avatarMonis Khan <mkhan@redhat.com>
    3ab143bc
etcd_storage_path_test.go 44.9 KB