Skip to content

Commit

Permalink
fix: externalID map should not include external_ids (#3385)
Browse files Browse the repository at this point in the history
Signed-off-by: xujunjie-cover <xujunjielxx@163.com>
  • Loading branch information
xujunjie-cover authored and oilbeater committed Nov 7, 2023
1 parent c670082 commit 50c5341
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/controller/security_group.go
Expand Up @@ -419,7 +419,7 @@ func (c *Controller) syncSgLogicalPort(key string) error {
return err
}

results, err := c.OVNNbClient.ListLogicalSwitchPorts(false, map[string]string{"external_ids:associated_sg_" + key: "true"}, nil)
results, err := c.OVNNbClient.ListLogicalSwitchPorts(false, map[string]string{fmt.Sprintf("associated_sg_%s", key): "true"}, nil)
if err != nil {
klog.Errorf("failed to find logical port, %v", err)
return err
Expand Down

0 comments on commit 50c5341

Please sign in to comment.