Legoktm has uploaded a new change for review. (
https://gerrit.wikimedia.org/r/395924 )
Change subject: Update for diffusion.repository.search API change
......................................................................
Update for diffusion.repository.search API change
The field is no longer called "name", it is now "query".
Bug: T182142
Change-Id: I860d5f3d241a1b37b842d676d3d2bc9ccab7d23d
---
M striker/phabricator.py
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.wikimedia.org:29418/labs/striker
refs/changes/24/395924/1
diff --git a/striker/phabricator.py b/striker/phabricator.py
index 72c3704..5b367b1 100644
--- a/striker/phabricator.py
+++ b/striker/phabricator.py
@@ -157,7 +157,7 @@
"""Lookup information on a diffusion repository by name."""
r = self.post('diffusion.repository.search', {
'constraints': {
- 'name': name,
+ 'query': name,
},
'attachments': {
'uris': True,
--
To view, visit https://gerrit.wikimedia.org/r/395924
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I860d5f3d241a1b37b842d676d3d2bc9ccab7d23d
Gerrit-PatchSet: 1
Gerrit-Project: labs/striker
Gerrit-Branch: master
Gerrit-Owner: Legoktm <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits