Created
January 15, 2016 08:53
-
-
Save akagisho/a6233410f1dbc4d04b8d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git designate/backend/impl_nsd4.py designate/backend/impl_nsd4.py | |
index d868264..5e46aca 100644 | |
--- designate/backend/impl_nsd4.py | |
+++ designate/backend/impl_nsd4.py | |
@@ -68,7 +68,7 @@ class NSD4Backend(base.Backend): | |
try: | |
LOG.debug('Executing NSD4 control call: %s on %s' % (command, | |
self.host)) | |
- result = self._command(command) | |
+ result = self._command(command).rstrip() | |
except (ssl.SSLError, socket.error) as e: | |
LOG.debug('NSD4 control call failure: %s' % e) | |
raise exceptions.Backend(e) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://github.com/openstack/designate/blob/master/designate/backend/impl_nsd4.py