Skip to content

Commit c451980

Browse files
committed
Skip Huawei labels when NFD patches a default namespace
Signed-off-by: taenzeyang <[email protected]>
1 parent 4a91e20 commit c451980

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pkg/nfd-master/nfd-master.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1290,6 +1290,8 @@ func containsHW(src string) bool {
12901290
"workerselector",
12911291
"host-arch",
12921292
"accelerator",
1293+
"accelerator-type",
1294+
"servertype",
12931295
}
12941296
for _, key := range keys {
12951297
if key == src {

0 commit comments

Comments
 (0)