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 a405e2c commit 11716d0Copy full SHA for 11716d0
pkg/oci/client/utils.go
@@ -35,8 +35,8 @@ const (
35
rateLimitBucketDefault = 5
36
)
37
38
-// MapProviderIDToResourceID parses the provider id and returns the instance ocid.
39
-func MapProviderIDToResourceID(providerID string) string {
+// MapProviderIDToInstanceID parses the provider id and returns the instance ocid.
+func MapProviderIDToInstanceID(providerID string) string {
40
if strings.HasPrefix(providerID, providerPrefix) {
41
return strings.TrimPrefix(providerID, providerPrefix)
42
}
0 commit comments