Skip to content

Commit

Permalink
Merge "Adds nosec comment to ZFSSA driver"
Browse files Browse the repository at this point in the history
  • Loading branch information
Zuul authored and openstack-gerrit committed May 1, 2024
2 parents 57ca67a + 2da6258 commit 242dc78
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion manila/share/drivers/zfssa/restclient.py
Expand Up @@ -282,7 +282,8 @@ def request(self, path, request, body=None, **kwargs):

while retry < maxreqretries:
try:
response = urlrequest.urlopen(req, timeout=self.timeout)
response = urlrequest.urlopen(req, # nosec
timeout=self.timeout)
except urlerror.HTTPError as err:
if err.code == http_client.NOT_FOUND:
log_debug_msg(self, 'REST Not Found: %s' % err.code)
Expand Down

0 comments on commit 242dc78

Please sign in to comment.