diff --git a/lib/kitchen/driver/dokken.rb b/lib/kitchen/driver/dokken.rb index e956de3..bafdb69 100644 --- a/lib/kitchen/driver/dokken.rb +++ b/lib/kitchen/driver/dokken.rb @@ -495,7 +495,8 @@ def docker_creds_for_image(image) c = docker_config_creds[image_registry] c.respond_to?(:call) ? c.call : c elsif docker_config_creds.key?(default_registry) - docker_config_creds[default_registry] + c = docker_config_creds[default_registry] + c.respond_to?(:call) ? c.call : c end end