Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14757659
D21039.id50111.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
715 B
Referenced Files
None
Subscribers
None
D21039.id50111.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D21039: Fix an issue where "arc" may fail on startup when trying to read older "default" config
Attached
Detach File
Event Timeline
Log In to Comment