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 {
283283 result , err := client .RegisterProbe (
284284 ctx ,
285285 & 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 ,
291290 },
292291 )
293292 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) {
366366 }
367367
368368 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 ,
374373 })
375374 if err != nil {
376375 return connected , grpcErrorHandler ("registering probe with synthetic-monitoring-api" , err )
You can’t perform that action at this time.
0 commit comments