Github user nchammas commented on a diff in the pull request:

    https://github.com/apache/spark/pull/4122#discussion_r24205520
  
    --- Diff: ec2/spark_ec2.py ---
    @@ -1082,11 +1109,11 @@ def real_main():
                         time.sleep(30)  # Yes, it does have to be this long :-(
                         for group in groups:
                             try:
    -                            conn.delete_security_group(group.name)
    -                            print "Deleted security group " + group.name
    +                            conn.delete_security_group(group_id=group.id)
    +                            print "Deleted security group %s, id %s" % 
(group.name, group.id)
                             except boto.exception.EC2ResponseError:
                                 success = False
    -                            print "Failed to delete security group " + 
group.name
    +                            print "Failed to delete security group %s, id 
%s" % (group.name, group.id)
    --- End diff --
    
    Same here. No need to print the group ID if it's not something the user 
interacts with.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to