Skip to content

Commit

Permalink
ocp cli fix
Browse files Browse the repository at this point in the history
Signed-off-by: Tullio Sebastiani <[email protected]>
  • Loading branch information
tsebastiani committed Oct 3, 2024
1 parent 8792f30 commit ddabf67
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/krkn_lib/telemetry/ocp/krkn_telemetry_openshift.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,14 +66,14 @@ def get_ocp_prometheus_data(
def collect_cluster_metadata(self, chaos_telemetry: ChaosRunTelemetry):
super().collect_cluster_metadata(chaos_telemetry)
chaos_telemetry.cloud_infrastructure = (
self.ocpcli.get_cloud_infrastructure()
self.__ocpcli.get_cloud_infrastructure()
)
chaos_telemetry.cloud_type = self.ocpcli.get_cluster_type()
chaos_telemetry.cloud_type = self.__ocpcli.get_cluster_type()
chaos_telemetry.cluster_version = (
self.ocpcli.get_clusterversion_string()
self.__ocpcli.get_clusterversion_string()
)
chaos_telemetry.network_plugins = (
self.ocpcli.get_cluster_network_plugins()
self.__ocpcli.get_cluster_network_plugins()
)
vm_number = self.get_vm_number()
if vm_number > 0:
Expand Down Expand Up @@ -178,7 +178,7 @@ def put_ocp_logs(
dst_dir = os.path.join(archive_path, f"filtered-logs-{timestamp}")
os.mkdir(workdir)
os.mkdir(dst_dir)
archive_path = self.ocpcli.collect_filter_archive_ocp_logs(
archive_path = self.__ocpcli.collect_filter_archive_ocp_logs(
workdir,
dst_dir,
self.__kubecli.get_kubeconfig_path(),
Expand Down

0 comments on commit ddabf67

Please sign in to comment.