Skip to content

Commit c89ce01

Browse files
authored
ci: remove bash usage from cilium validation (#3826)
ci: remove bash usage from cilium vaildation
1 parent 948a40f commit c89ce01

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/validate/linux_validate.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ var (
2222
cnsManagedStateFileCmd = []string{"bash", "-c", "cat /var/run/azure-cns/azure-endpoints.json"}
2323
azureVnetStateFileCmd = []string{"bash", "-c", "cat /var/run/azure-vnet.json"}
2424
azureVnetIpamStateCmd = []string{"bash", "-c", "cat /var/run/azure-vnet-ipam.json"}
25-
ciliumStateFileCmd = []string{"bash", "-c", "cilium endpoint list -o json"}
25+
ciliumStateFileCmd = []string{"cilium", "endpoint", "list", "-o", "json"}
2626
cnsCachedAssignedIPStateCmd = []string{"curl", "localhost:10090/debug/ipaddresses", "-d", "{\"IPConfigStateFilter\":[\"Assigned\"]}"}
2727
)
2828

0 commit comments

Comments
 (0)