add redaction flag in Job (#4650)
* add redaction flag in Job * update dependencies
This commit is contained in:
@@ -172,6 +172,7 @@ func (c *agentClient) LaunchJob(ctx context.Context, desc *JobRequest) *serverut
|
||||
AgentName: desc.AgentName,
|
||||
Metadata: desc.Metadata,
|
||||
EnableRecording: c.config.EnableUserDataRecording,
|
||||
EnableRedaction: c.config.EnableUserDataRedaction,
|
||||
Deployment: desc.Deployment,
|
||||
Attributes: desc.Attributes,
|
||||
}
|
||||
|
||||
@@ -4,5 +4,6 @@ const DefaultTargetLoad = 0.7
|
||||
|
||||
type Config struct {
|
||||
EnableUserDataRecording bool `yaml:"enable_user_data_recording"`
|
||||
EnableUserDataRedaction bool `yaml:"enable_user_data_redaction"`
|
||||
TargetLoad float32 `yaml:"target_load,omitempty"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user