File tree Expand file tree Collapse file tree 4 files changed +5
-5
lines changed
Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -113,7 +113,7 @@ def __init__(
113113 rate_limit_threshold : Optional [int ] = None ,
114114 logdetective_enabled : bool = False ,
115115 logdetective_url : str = LOGDETECTIVE_PACKIT_SERVER_URL ,
116- logdetective_secret : str = "" ,
116+ logdetective_token : str = "" ,
117117 ** kwargs ,
118118 ):
119119 if "authentication" in kwargs :
@@ -213,7 +213,7 @@ def __init__(
213213 # Default URL of the Log Detective interface server
214214 self .logdetective_url = logdetective_url
215215 # Token to be used with Log Detective interface server
216- self .logdetective_secret = logdetective_secret
216+ self .logdetective_token = logdetective_token
217217
218218 service_config = None
219219
Original file line number Diff line number Diff line change @@ -89,7 +89,7 @@ class ServiceConfigSchema(UserConfigSchema):
8989 disabled_projects_for_fedora_ci = fields .List (fields .String ())
9090 logdetective_enabled = fields .Bool (missing = False , default = False )
9191 logdetective_url = fields .String ()
92- logdetective_secret = fields .String ()
92+ logdetective_token = fields .String ()
9393
9494 @post_load
9595 def make_instance (self , data , ** kwargs ):
Original file line number Diff line number Diff line change @@ -391,7 +391,7 @@ def trigger_log_detective_if_configured(self):
391391 self .koji_task_event ,
392392 self .pushgateway ,
393393 self .service_config .logdetective_url ,
394- self .service_config .logdetective_secret ,
394+ self .service_config .logdetective_token ,
395395 )
396396 trigger_success = log_detective_trigger .trigger_log_detective_analysis ()
397397 if not trigger_success :
Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ def test_logdetective_koji_build_scratch_downstream(
5252 logdetective_url = LOGDETECTIVE_PACKIT_SERVER_URL ,
5353 koji_logs_url = "https://kojipkgs.fedoraproject.org" ,
5454 deployment = Deployment .prod ,
55- logdetective_secret = "secret-123" ,
55+ logdetective_token = "secret-123" ,
5656 )
5757
5858 flexmock (ServiceConfig ).should_receive ("get_service_config" ).and_return (service_config )
You can’t perform that action at this time.
0 commit comments