Skip to content

Commit

Permalink
chore: update based on comment
Browse files Browse the repository at this point in the history
  • Loading branch information
RolandSherwin committed Jan 16, 2024
1 parent ac94857 commit e791c76
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions src/digital_ocean.rs
Original file line number Diff line number Diff line change
Expand Up @@ -98,13 +98,8 @@ impl DigitalOceanClient {
ip_address,
});
}
Err(err) => {
if skip_if_no_ip {
continue;
} else {
return Err(err);
}
}
Err(_) if skip_if_no_ip => continue,
Err(err) => return Err(err),
}
}

Expand Down

0 comments on commit e791c76

Please sign in to comment.