From db2c0d84b9c125b496c1cdb9a98d875b9014d138 Mon Sep 17 00:00:00 2001 From: yangao Date: Thu, 21 Apr 2022 09:43:53 +0800 Subject: [PATCH] feat: The condition for judging the bare metal instance removes the trait: CUSTOM_GOLD is required The condition for judging the bare metal instance removes the trait: CUSTOM_GOLD is required Change-Id: I6276918ddb7620dac2ecd261000802e920e2d95e --- src/resources/instance.jsx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/resources/instance.jsx b/src/resources/instance.jsx index 53c69980..e8db3d12 100644 --- a/src/resources/instance.jsx +++ b/src/resources/instance.jsx @@ -294,10 +294,7 @@ export const physicalNodeTypes = [ export const isIronicInstance = (item) => { const { flavor_info: { extra_specs: extra = {} } = {} } = item; - return ( - extra[':architecture'] === 'bare_metal' || - extra['trait:CUSTOM_GOLD'] === 'required' - ); + return extra[':architecture'] === 'bare_metal'; }; export const instanceColumnsBackend = [