Skip to content

Commit

Permalink
Merge pull request #30 from amnezia-vpn/issue_29
Browse files Browse the repository at this point in the history
issue #29: replace user key with user ip
  • Loading branch information
DarthSidious007 authored Dec 5, 2024
2 parents c6fe778 + 6f1654f commit 8897d47
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.PHONY: all ci docker_build docker_retag docker_login docker_push

VERSION := 3.0.0
VERSION := 3.1.0
PROJECT_NAME ?= amneziavpn/amneziawg-exporter
DOCKER_BUILDKIT ?= 1
DOCKER_REGISTRY ?= docker.io
Expand Down
2 changes: 1 addition & 1 deletion exporter.py
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ def parse(text_block: str) -> list:
parts = line.split()
current_peer = {}
if len(parts) >= 6:
current_peer['peer'] = parts[1]
current_peer['peer'] = parts[4]
current_peer['latest_handshake'] = parts[5]
peers.append(current_peer)

Expand Down

0 comments on commit 8897d47

Please sign in to comment.