We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c9aa125 commit 81aa005Copy full SHA for 81aa005
osg-pilot-container/osgpilot_meter
@@ -265,7 +265,8 @@ schema_sql = [
265
def query_current_attrs(opts, pool):
266
coll = htcondor.Collector(pool)
267
268
- filter_cond = 'SlotType != "Static"'
+ # Need at least one defined from Site and ResourceName for proper accounting
269
+ filter_cond = 'SlotType != "Static" && (GLIDEIN_ResourceName =!= UNDEFINED || GLIDEIN_Site =!= UNDEFINED) '
270
if not opts.any_records:
271
filter_cond += ' && IsOsgVoContainer =?= True'
272
0 commit comments