We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2777fba commit f1ec86aCopy full SHA for f1ec86a
pkg/cloud/tags.go
@@ -45,15 +45,6 @@ const (
45
ResourceTypeIPAddress ResourceType = "PublicIpAddress"
46
)
47
48
-// ignoreAlreadyPresentErrors returns nil if the error is an already present tag error.
49
-func ignoreAlreadyPresentErrors(err error, rType ResourceType, rID string) error {
50
- matchSubString := strings.ToLower("already on " + string(rType) + " with id " + rID)
51
- if err != nil && !strings.Contains(strings.ToLower(err.Error()), matchSubString) {
52
- return err
53
- }
54
- return nil
55
-}
56
-
57
func (c *client) IsCapcManaged(resourceType ResourceType, resourceID string) (bool, error) {
58
tags, err := c.GetTags(resourceType, resourceID)
59
if err != nil {
0 commit comments