Skip to content

Commit

Permalink
CA-331454: do not post attach scan ISO SRs
Browse files Browse the repository at this point in the history
Signed-off-by: Mark Syms <mark.syms@citrix.com>
  • Loading branch information
MarkSymsCtx committed Mar 24, 2020
1 parent 580221d commit c9e959b
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions drivers/ISOSR.py
Original file line number Diff line number Diff line change
Expand Up @@ -360,6 +360,14 @@ def attach(self, sr_uuid):
self.detach(sr_uuid)
raise xs_errors.XenError('ISOSharenameFailure')

def after_master_attach(self, uuid):
"""Perform actions required after attaching on the pool master
Return:
None
"""
# Nothing required here for ISOs and tools ISOs will fail if scanned
pass

def getSMBVersionFromOptions(self, options):
"""Extract SMB version from options """
smb_ver = None
Expand Down

0 comments on commit c9e959b

Please sign in to comment.