From 7796464e13c4603a1e9ad1a541a05546bfaad9d7 Mon Sep 17 00:00:00 2001 From: clux Date: Mon, 23 May 2022 05:46:29 +0100 Subject: [PATCH] ..but then need to update the test Signed-off-by: clux --- kube/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kube/src/lib.rs b/kube/src/lib.rs index 10781e3f5..f5e1ff253 100644 --- a/kube/src/lib.rs +++ b/kube/src/lib.rs @@ -407,7 +407,7 @@ mod test { // check all non-excluded groups that are iterable let mut groups = discovery.groups_alphabetical().into_iter(); let firstgroup = groups.next().unwrap(); - assert_eq!(firstgroup.name, ApiGroup::CORE_GROUP); + assert_eq!(firstgroup.name(), ApiGroup::CORE_GROUP); for group in groups { for (ar, caps) in group.recommended_resources() { if !caps.supports_operation(verbs::LIST) {