From 6650e9e09cd85b9514e6514082c35b19cca0af96 Mon Sep 17 00:00:00 2001 From: SydneyCaulfeild <47483016+SydneyCaulfeild@users.noreply.github.com> Date: Wed, 11 Sep 2024 09:53:10 -0400 Subject: [PATCH] Fix state/type in when statement. --- release/models/platform/openconfig-platform.yang | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/release/models/platform/openconfig-platform.yang b/release/models/platform/openconfig-platform.yang index b8214b160..d45dbecce 100644 --- a/release/models/platform/openconfig-platform.yang +++ b/release/models/platform/openconfig-platform.yang @@ -546,7 +546,7 @@ module openconfig-platform { } leaf model-name { - when "../removable = 'true' or ../state/type = 'CHASSIS'"; + when "../removable = 'true' or ../type = 'CHASSIS'"; mandatory true; type string; description