Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

digitalocean: list/delete resources #4916

Merged
merged 2 commits into from
Apr 5, 2018

Conversation

andrewsykim
Copy link
Member

@andrewsykim andrewsykim commented Apr 4, 2018

  • also fixes a bug when listing resource record set

Left out list/delete for DNS since I'm thinking of adopting external-dns.

#2150

@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. approved Indicates a PR has been approved by an approver from all required OWNERS files. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Apr 4, 2018
@andrewsykim andrewsykim force-pushed the digitalocean-resources branch 2 times, most recently from 47dcb0b to a92a560 Compare April 5, 2018 00:34
@andrewsykim andrewsykim force-pushed the digitalocean-resources branch from a92a560 to 6831bd8 Compare April 5, 2018 03:58
}

for _, volume := range volumes {
if strings.Contains(volume.Name, volumeMatch) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is HasPrefix more precise?

@justinsb
Copy link
Member

justinsb commented Apr 5, 2018

One question about whether you want to use Contains or HasPrefix when matching volumes, but lgtm

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Apr 5, 2018
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: andrewsykim, justinsb

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:
  • OWNERS [andrewsykim,justinsb]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot merged commit f30a8db into kubernetes:master Apr 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants