fix(control-plane): use isCoreNotFound after resolver rename · Entire
fix(control-plane): use isCoreNotFound after resolver rename
ae3b21b·
toothbrush·3w ago·1 file·+1 added/-1 removed
Sessions
ccbb08235fc2View transcript
Changes
1
cmd/entire/cli
Mcorecmd.go+1/-1
92 unmodified lines
93
94
95
96
96
97
98
99
92 unmodified lines
// Idempotent delete: a resource that's already gone (a 404 from the
// delete call — e.g. a ULID passed straight through, or a concurrent
// delete) is the desired end state, not an error.
if isNotFound(err) {
if isCoreNotFound(err) {
cmd.Printf("%s not found; nothing to delete\n", label)
return nil
}
Mcmd/entire/cli/corecmd.go+1/-1