Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaozhu36 committed Feb 14, 2025
1 parent 80856cb commit d6f0442
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion alicloud/service_alicloud_ecs.go
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,7 @@ func (s *EcsService) DescribeSecurityGroupRule(id string) (rule ecs.Permission,
}
prefixListId = ru.DestPrefixListId
}
fmt.Sprintf("cidr:%s, prefixListId:%s, priority:%d", cidr, prefixListId, priority)
fmt.Printf("cidr:%s, prefixListId:%s, priority:%d", cidr, prefixListId, priority)

if (cidr == cidr_ip || prefixListId == cidr_ip) && strings.ToLower(string(ru.Policy)) == policy && ru.Priority == strconv.Itoa(priority) {
return ru, nil
Expand Down

0 comments on commit d6f0442

Please sign in to comment.