Skip to content
Snippets Groups Projects
Verified Commit 6666e33d authored by Alexander Olofsson's avatar Alexander Olofsson
Browse files

Avoid erroring out on WDS client

parent 6502beb1
No related branches found
No related tags found
No related merge requests found
Pipeline #93446 failed
...@@ -100,9 +100,9 @@ module ForemanWds ...@@ -100,9 +100,9 @@ module ForemanWds
end end
def ensure_wds_client def ensure_wds_client
raise NotImplementedError, 'Not implemented yet'
return unless wds? return unless wds?
raise NotImplementedError, 'Not implemented yet'
client = wds_server.ensure_client(self) client = wds_server.ensure_client(self)
Rails.logger.info client Rails.logger.info client
...@@ -113,9 +113,9 @@ module ForemanWds ...@@ -113,9 +113,9 @@ module ForemanWds
end end
def remove_wds_client def remove_wds_client
raise NotImplementedError, 'Not implemented yet'
return unless wds? return unless wds?
raise NotImplementedError, 'Not implemented yet'
wds_server.delete_client(self) wds_server.delete_client(self)
true true
rescue ScriptError, StandardError => ex rescue ScriptError, StandardError => ex
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment