diff --git a/src/Guzzle/Common/Cache/CacheAdapterFactory.php b/src/Guzzle/Common/Cache/CacheAdapterFactory.php
index <HASH>..<HASH> 100644
--- a/src/Guzzle/Common/Cache/CacheAdapterFactory.php
+++ b/src/Guzzle/Common/Cache/CacheAdapterFactory.php
@@ -24,7 +24,7 @@ class CacheAdapterFactory
         if (!isset($config['cache.adapter']) && !isset($config['cache.provider'])) {
             $config['cache.adapter'] = 'Guzzle\\Common\\Cache\\NullCacheAdapter';
             $config['cache.provider'] = null;
-        } elseif (!isset($config['cache.provider'])) { //config array instead of options
+        } else {
             // Validate that the options are valid
             foreach (array('cache.adapter', 'cache.provider') as $required) {
                 if (!isset($config[$required])) {
Fixing bug in cache adapter factory