Closed yunkon-kim closed 4 days ago
@yunkon-kim I think the DeleteLabelObject() function itself should return an error.
However, when using it, the function that calls DeleteLabelObject() can decide whether to propagate the error to its caller or not.
If the process involves important and time-consuming tasks, an error from deleting a label might be considered somewhat negligible.
(Sharing offline discussion)
There seems to be nothing to update :-)
/approve
This PR will mainly replace RemoveLabel() with DeleteLabelObject(). It's related to the last part of resource deletion functions.
@seokho-son
Could you please double-check whether the DeleteLabelObject() function is appropriate for the resource deletion function?
Which do you prefer between
error
ornil
for the return value when the label object doesn't exist in RemoveLabel()?close #1928