mirror of https://github.com/apache/jclouds.git
Merge pull request #799 from andrewgaul/unregister-provider
Correct typo
This commit is contained in:
commit
03326849e0
|
@ -91,7 +91,7 @@ public class MetadataBundleListener implements BundleListener {
|
|||
providerMetadata = providerMetadataMap.get(event.getBundle().getBundleId());
|
||||
apiMetadata = apiMetadataMap.get(event.getBundle().getBundleId());
|
||||
if (providerMetadata != null) {
|
||||
ProviderRegistry.uRegisterProvider(providerMetadata);
|
||||
ProviderRegistry.unregisterProvider(providerMetadata);
|
||||
}
|
||||
if (apiMetadata != null) {
|
||||
ApiRegistry.unRegisterApi(apiMetadata);
|
||||
|
|
|
@ -32,7 +32,7 @@ public class ProviderRegistry {
|
|||
providers.add(provider);
|
||||
}
|
||||
|
||||
public static void uRegisterProvider(ProviderMetadata provider) {
|
||||
public static void unregisterProvider(ProviderMetadata provider) {
|
||||
providers.remove(provider);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue