Skip to content

Commit

Permalink
Fix gen_sonobuoy_result_file
Browse files Browse the repository at this point in the history
Signed-off-by: michal.gubricky <[email protected]>
  • Loading branch information
michal-gubricky committed Nov 11, 2024
1 parent ef46e2d commit dddf9ef
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
import time
import json
import logging
import os

from kubernetes import client
from helper import gen_sonobuoy_result_file
Expand Down Expand Up @@ -259,7 +260,7 @@ def main(argv):
if return_code == 0:
return_message = "all tests passed"

gen_sonobuoy_result_file(return_code, return_message, __file__)
gen_sonobuoy_result_file(return_code, return_message, os.path.basename(__file__))

return return_code

Expand Down

0 comments on commit dddf9ef

Please sign in to comment.