Skip to content

Commit

Permalink
Fix 'credits' and 'rail' optional attributes in ldmsd_controller prdc…
Browse files Browse the repository at this point in the history
…r_add

'credits' and 'rail' are optional attributes in prdcr_add command. They
were accidentally listed under the required attribute list.
  • Loading branch information
narategithub committed Jul 19, 2023
1 parent d93902a commit ea76e76
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions ldms/python/ldmsd/ldmsd_communicator.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,10 @@
###############################
##### Producer Policy #####
'prdcr_add': {'req_attr': ['name', 'type', 'xprt', 'host',
'port', 'rail',
'credits'],
'opt_attr' : [ 'auth', 'perm', 'interval', 'reconnect' ] },
'port'],
'opt_attr' : [ 'auth', 'perm', 'interval',
'reconnect', 'rail',
'credits' ] },
'prdcr_del': {'req_attr': ['name']},
'prdcr_start': {'req_attr': ['name'],
'opt_attr': ['interval']},
Expand Down

0 comments on commit ea76e76

Please sign in to comment.