diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5c7d37c..809261b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -3,7 +3,7 @@ name: Release iperf3-monitor on: push: tags: - - 'v*.*.*' + - "v*.*.*" env: REGISTRY: ghcr.io @@ -92,4 +92,3 @@ jobs: token: ${{ secrets.GITHUB_TOKEN }} charts_dir: ./charts charts_url: https://${{ github.repository_owner }}.github.io/${{ github.event.repository.name }} -``` \ No newline at end of file diff --git a/.gitignore b/.gitignore index e58ae8f..169fa24 100644 --- a/.gitignore +++ b/.gitignore @@ -37,4 +37,3 @@ Thumbs.db # Helm !charts/iperf3-monitor/.helmignore charts/*.tgz # Ignore packaged chart files -``` \ No newline at end of file diff --git a/charts/iperf3-monitor/templates/exporter-deployment.yaml b/charts/iperf3-monitor/templates/exporter-deployment.yaml index 943aa45..1188f68 100644 --- a/charts/iperf3-monitor/templates/exporter-deployment.yaml +++ b/charts/iperf3-monitor/templates/exporter-deployment.yaml @@ -46,4 +46,3 @@ spec: resources: {{- toYaml . | nindent 10 }} {{- end }} -``` \ No newline at end of file diff --git a/charts/iperf3-monitor/templates/server-daemonset.yaml b/charts/iperf3-monitor/templates/server-daemonset.yaml index 9523270..d8495e3 100644 --- a/charts/iperf3-monitor/templates/server-daemonset.yaml +++ b/charts/iperf3-monitor/templates/server-daemonset.yaml @@ -42,4 +42,3 @@ spec: resources: {{- toYaml . | nindent 12 }} {{- end }} -``` \ No newline at end of file diff --git a/exporter/exporter.py b/exporter/exporter.py index c53c6c7..c3ab378 100644 --- a/exporter/exporter.py +++ b/exporter/exporter.py @@ -156,4 +156,5 @@ def parse_and_publish_metrics(result, source_node, dest_node, protocol): IPERF_JITTER_MS.labels(**labels).set(0) IPERF_PACKETS_TOTAL.labels(**labels).set(0) IPERF_LOST_PACKETS.labels(**labels).set(0) - except KeyError: \ No newline at end of file + except KeyError: + pass