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 @@ -372,11 +372,10 @@ func (c *Updater) loop(ctx context.Context) (bool, error) {
372372 }
373373
374374 result , err := client .RegisterProbe (ctx , & sm.ProbeInfo {
375- Version : version .Short (),
376- Commit : version .Commit (),
377- Buildstamp : version .Buildstamp (),
378- // TODO(d0ugal): We will switch this to true when the implementation is complete in the Agent and API.
379- SupportsProtocolSecrets : false ,
375+ Version : version .Short (),
376+ Commit : version .Commit (),
377+ Buildstamp : version .Buildstamp (),
378+ SupportsProtocolSecrets : true ,
380379 })
381380 if err != nil {
382381 return connected , grpcErrorHandler ("registering probe with synthetic-monitoring-api" , err )
You can’t perform that action at this time.
0 commit comments