Commit a8722634 authored by Sebastien Ponce's avatar Sebastien Ponce
Browse files

Fixed bug #105119: draindiskserver -q -f broken

parent 27604c44
......@@ -364,7 +364,7 @@ def queryFailures():
WHERE FileSystem.diskServer = DiskServer.id
AND DrainingJob.fileSystem = FileSystem.id
AND DrainingErrors.drainingJob = DrainingJob.id
AND DrainingErrors.diskCopy = DiskCopy.id(+)'''
AND DrainingErrors.castorFile = DiskCopy.castorFile(+)'''
if fileSystems:
stGetFailures += ' AND FileSystem.id IN (' + ', '.join([str(fs[2]) for fs in fileSystems]) + ')'
# get data
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment