Fix distributed tracing issue (#464)
* fix distributed tracing not work on vscode 1.44 * Add todo * Update version Co-authored-by: rentu <rentu@microsoft.com>
This commit is contained in:
Родитель
52b8c3bd3f
Коммит
d7771bdf88
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "azure-iot-toolkit",
|
||||
"version": "2.16.1-rc",
|
||||
"version": "2.16.1-rc1",
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
"dependencies": {
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
"name": "azure-iot-toolkit",
|
||||
"displayName": "Azure IoT Hub",
|
||||
"description": "This extension is now a part of Azure IoT Tools extension pack. We highly recommend installing Azure IoT Tools to get full capabilities for Azure IoT development. Interact with Azure IoT Hub, IoT Device Management, IoT Edge Management, IoT Hub Device Simulation, IoT Hub Code Generation and IoT Hub Device Provisioning Service (DPS).",
|
||||
"version": "2.16.1-rc",
|
||||
"version": "2.16.1-rc1",
|
||||
"publisher": "vsciot-vscode",
|
||||
"aiKey": "0caaff90-cc1c-4def-b64c-3ef33615bc9b",
|
||||
"icon": "logo.png",
|
||||
|
|
|
@ -26,7 +26,7 @@ export class DistributedTracingManager extends BaseExplorer {
|
|||
TelemetryClient.sendEvent(Constants.IoTHubAIUpdateDistributedSettingStartEvent);
|
||||
|
||||
let deviceIds: string[] = [];
|
||||
if (!node) {
|
||||
if (!node || !node.deviceNode) {
|
||||
let selectedDeviceIds: string[] = await vscode.window.showQuickPick(
|
||||
Utility.getNoneEdgeDeviceIdList(iotHubConnectionString),
|
||||
{ placeHolder: "Select devices...", ignoreFocusOut: true, canPickMany: true },
|
||||
|
|
|
@ -98,6 +98,8 @@ export function activate(context: vscode.ExtensionContext) {
|
|||
});
|
||||
|
||||
let updateDistributedTracingSetting = vscode.commands.registerCommand("azure-iot-toolkit.updateDistributedTracingSetting", (node) => {
|
||||
// Todo: Determine why the parameter is not null when triggered from context menu of custom panel
|
||||
// https://github.com/microsoft/vscode/issues/94872
|
||||
azureIoTExplorer.updateDistributedTracingSetting(node);
|
||||
});
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче