Page MenuHomePhabricator

D21039.id50111.diff
No OneTemporary

D21039.id50111.diff

diff --git a/src/runtime/ArcanistRuntime.php b/src/runtime/ArcanistRuntime.php
--- a/src/runtime/ArcanistRuntime.php
+++ b/src/runtime/ArcanistRuntime.php
@@ -680,7 +680,13 @@
$conduit_uri = $config->getConfig('phabricator.uri');
if ($conduit_uri === null) {
- $conduit_uri = $config->getConfig('default');
+ // For now, read this older config from raw storage. There is currently
+ // no definition of this option in the "toolsets" config list, and it
+ // would be nice to get rid of it.
+ $default_list = $config->getStorageValueList('default');
+ if ($default_list) {
+ $conduit_uri = last($default_list)->getValue();
+ }
}
if ($conduit_uri) {

File Metadata

Mime Type
text/plain
Expires
Thu, Jan 23, 2:30 AM (8 h, 12 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7035887
Default Alt Text
D21039.id50111.diff (715 B)

Event Timeline