Skip to content

Commit 5b57fa0

Browse files
committed
Add parent_role in targets.delegate
Signed-off-by: marinamoore <[email protected]>
1 parent e0c50c0 commit 5b57fa0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tuf/repository_tool.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2412,7 +2412,8 @@ def delegate(self, rolename, public_keys, paths, threshold=1,
24122412
'keyids': keyids,
24132413
'threshold': threshold,
24142414
'terminating': terminating,
2415-
'paths': list(relative_targetpaths.keys())}
2415+
'paths': list(relative_targetpaths.keys()),
2416+
'parent_role' : self._rolename}
24162417

24172418
if paths:
24182419
roleinfo['paths'] = paths

0 commit comments

Comments
 (0)