From 9ac62416512501d30ebcf9a1c49dadec1f0cc7cc Mon Sep 17 00:00:00 2001 From: David Davis Date: Tue, 22 Mar 2016 17:17:37 -0400 Subject: [PATCH] [docker] Fixing bad namespace on errors --- lib/fog/fogdocker/requests/compute/container_action.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/fog/fogdocker/requests/compute/container_action.rb b/lib/fog/fogdocker/requests/compute/container_action.rb index 06400d7d1..ef6c19788 100644 --- a/lib/fog/fogdocker/requests/compute/container_action.rb +++ b/lib/fog/fogdocker/requests/compute/container_action.rb @@ -13,9 +13,9 @@ module Fog result end rescue Docker::Error::NotFoundError => e - raise Fog::Errors::Error::NotFound.new(e.message) + raise Fog::Errors::NotFound.new(e.message) rescue Docker::Error::TimeoutError => e - raise Fog::Errors::Error::TimeoutError.new(e.message) + raise Fog::Errors::TimeoutError.new(e.message) rescue Docker::Error::UnauthorizedError => e raise Fog::Errors::Fogdocker::AuthenticationError.new(e.message) rescue Docker::Error::DockerError => e