planitech: remove availability check (#29984)

This commit is contained in:
Emmanuel Cazenave 2019-01-22 14:38:03 +01:00
parent c73c9b505f
commit 6d15b29b28
1 changed files with 0 additions and 5 deletions

View File

@ -322,11 +322,6 @@ class PlanitechConnector(BaseResource):
except RequestException as e:
raise APIError("Authentication to Planitech failed: %s" % str(e))
def check_status(self):
auth_url = urlparse.urljoin(self.url, 'auth')
response = self.requests.get(auth_url, headers={'MH-LOGIN': self.username})
response.raise_for_status()
@endpoint(
perm='can_access',
post={