plugins: fix nomadTopologyToProto panic on systems that don't support NUMA (#23399)

After changes introduced in #23284 we no longer need to make a if
!st.SupportsNUMA() check in the GetNodes() topology method. In fact this check
will now cause panic in nomadTopologyToProto method on systems that don't
support NUMA.
This commit is contained in:
Piotr Kazmierczak
2024-07-09 08:41:52 +02:00
committed by GitHub
parent 6560a0ce02
commit 7772711c89
4 changed files with 18 additions and 4 deletions

View File

@@ -89,7 +89,8 @@ jobs:
github.com/hashicorp/nomad/drivers/docker \
github.com/hashicorp/nomad/client/lib/fifo \
github.com/hashicorp/nomad/client/logmon \
github.com/hashicorp/nomad/client/allocrunner/taskrunner/template
github.com/hashicorp/nomad/client/allocrunner/taskrunner/template \
github.com/hashicorp/nomad/plugins/base
- uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3
with:
name: results.xml