mirror of https://github.com/hashicorp/consul
Browse Source
There was an errant early-return in PolicyDelete() that bypassed the rest of the function. This was ok because the only caller of this function ignores the results. This removes the early-return making it structurally behave like TokenDelete() and for both PolicyDelete and TokenDelete clarify the lone callers to indicate that the return values are ignored. We may wish to avoid the entire return value as well, but this patch doesn't go that far.pull/5342/head
R.B. Boyer
6 years ago
committed by
GitHub
2 changed files with 4 additions and 8 deletions
Loading…
Reference in new issue