Skip to content

Commit

Permalink
Update defaultServiceConnectIfName to meet new CNI API spec (#3434)
Browse files Browse the repository at this point in the history
  • Loading branch information
yinyic committed Oct 18, 2022
1 parent 87a44a3 commit 858b2c9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion agent/ecscni/types_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ const (
// defaultServiceConnectIfName is the default ifname used for invoking ServiceConnect CNI plugin.
// Even though the actual SC netns configuration does not require IfName, we still need to pass in a placeholder
// value because IfName is a mandatory field to invoke any CNI plugin.
defaultServiceConnectIfName = "ecs-serviceconnect"
// Additionally, the API spec requires that ifName length to be <= 15 chars.
defaultServiceConnectIfName = "ecs-sc"
// ECSIPAMPluginName is the binary of the ipam plugin
ECSIPAMPluginName = "ecs-ipam"
// ECSBridgePluginName is the binary of the bridge plugin
Expand Down

0 comments on commit 858b2c9

Please sign in to comment.