Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitfb14878

Browse files
committed
Includelanguages instart-proxy telemetry
1 parent2ff418f commitfb14878

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

‎lib/start-proxy-action.js‎

Lines changed: 5 additions & 2 deletions
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.

‎src/start-proxy-action.ts‎

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import { pki } from "node-forge";
77

88
import*asactionsUtilfrom"./actions-util";
99
import{getApiDetails,getAuthorizationHeaderFor}from"./api-client";
10+
import{Config}from"./config-utils";
1011
import{getActionsLogger,Logger}from"./logging";
1112
import{
1213
Credential,
@@ -99,14 +100,15 @@ interface StartProxyStatus extends StatusReportBase {
99100

100101
asyncfunctionsendSuccessStatusReport(
101102
startedAt:Date,
103+
config:Partial<Config>,
102104
registry_types:string[],
103105
logger:Logger,
104106
){
105107
conststatusReportBase=awaitcreateStatusReportBase(
106108
ActionName.StartProxy,
107109
"success",
108110
startedAt,
109-
undefined,
111+
config,
110112
awaitutil.checkDiskUsage(logger),
111113
logger,
112114
);
@@ -168,6 +170,9 @@ async function runWrapper() {
168170
// Report success if we have reached this point.
169171
awaitsendSuccessStatusReport(
170172
startedAt,
173+
{
174+
languages:language ?[language] :[],
175+
},
171176
proxyConfig.all_credentials.map((c)=>c.type),
172177
logger,
173178
);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp