File tree Expand file tree Collapse file tree 2 files changed +8
-10
lines changed Expand file tree Collapse file tree 2 files changed +8
-10
lines changed Original file line number Diff line number Diff line change @@ -283,11 +283,10 @@ func (h *Handler) loop(ctx context.Context) error {
283
283
result , err := client .RegisterProbe (
284
284
ctx ,
285
285
& sm.ProbeInfo {
286
- Version : version .Short (),
287
- Commit : version .Commit (),
288
- Buildstamp : version .Buildstamp (),
289
- // TODO(d0ugal): We will switch this to true when the implementation is complete in the Agent and API.
290
- SupportsProtocolSecrets : false ,
286
+ Version : version .Short (),
287
+ Commit : version .Commit (),
288
+ Buildstamp : version .Buildstamp (),
289
+ SupportsProtocolSecrets : true ,
291
290
},
292
291
)
293
292
if err != nil {
Original file line number Diff line number Diff line change @@ -366,11 +366,10 @@ func (c *Updater) loop(ctx context.Context) (bool, error) {
366
366
}
367
367
368
368
result , err := client .RegisterProbe (ctx , & sm.ProbeInfo {
369
- Version : version .Short (),
370
- Commit : version .Commit (),
371
- Buildstamp : version .Buildstamp (),
372
- // TODO(d0ugal): We will switch this to true when the implementation is complete in the Agent and API.
373
- SupportsProtocolSecrets : false ,
369
+ Version : version .Short (),
370
+ Commit : version .Commit (),
371
+ Buildstamp : version .Buildstamp (),
372
+ SupportsProtocolSecrets : true ,
374
373
})
375
374
if err != nil {
376
375
return connected , grpcErrorHandler ("registering probe with synthetic-monitoring-api" , err )
You can’t perform that action at this time.
0 commit comments