Skip to content

Commit

Permalink
styling
Browse files Browse the repository at this point in the history
  • Loading branch information
sckott committed Feb 5, 2025
1 parent 201af90 commit 88dc35e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions R/vpc_security_groups.R
Original file line number Diff line number Diff line change
Expand Up @@ -276,8 +276,10 @@ aws_vpc_security_group_create <- function(
#' @param id (character) The id of the security group. optional. provide `id`
#' or `name`
aws_vpc_security_group_delete <- function(id = NULL, name = NULL, ...) {
stop_if_not(xor(!is.null(id), !is.null(name)),
"Provide one of id or name, not both")
stop_if_not(
xor(!is.null(id), !is.null(name)),
"Provide one of id or name, not both"
)
con_ec2()$delete_security_group(
GroupId = id,
GroupName = name,
Expand Down

0 comments on commit 88dc35e

Please sign in to comment.