Resolve SingularName TODO with comment
Signed-off-by: Andrew Keesler <akeesler@vmware.com>
This commit is contained in:
parent
597408a977
commit
e884cef1ef
@ -47,11 +47,15 @@ func TestGetAPIResourceList(t *testing.T) {
|
|||||||
expectedLoginRequestAPIResource := metav1.APIResource{
|
expectedLoginRequestAPIResource := metav1.APIResource{
|
||||||
Name: "loginrequests",
|
Name: "loginrequests",
|
||||||
Kind: "LoginRequest",
|
Kind: "LoginRequest",
|
||||||
SingularName: "", // TODO(akeesler): what should this be?
|
|
||||||
Verbs: metav1.Verbs([]string{
|
Verbs: metav1.Verbs([]string{
|
||||||
"create",
|
"create",
|
||||||
}),
|
}),
|
||||||
Namespaced: false,
|
Namespaced: false,
|
||||||
|
|
||||||
|
// This is currently an empty string in the response; maybe it should not be
|
||||||
|
// empty? Seems like no harm in keeping it like this for now, but feel free
|
||||||
|
// to update in the future if there is a compelling reason to do so.
|
||||||
|
SingularName: "",
|
||||||
}
|
}
|
||||||
|
|
||||||
expectedLDCAPIResource := metav1.APIResource{
|
expectedLDCAPIResource := metav1.APIResource{
|
||||||
|
Loading…
Reference in New Issue
Block a user