Skip to content

Commit 9db4489

Browse files
author
seanchann
committed
1.update version. 2. ignore api proxy user update traffic
1 parent 166bd9d commit 9db4489

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

pkg/multiuser/helper.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import (
44
"fmt"
55
"shadowss/pkg/util"
66
"strconv"
7+
"strings"
78

89
"cloud-keeper/pkg/api"
910

@@ -89,7 +90,7 @@ func (mu *MultiUser) CollectorAndUpdateUserTraffic() (int64, int64, int64, error
8990

9091
for _, userInfo := range userList {
9192
userConfig := userInfo.ConnectInfo
92-
if userConfig.Name == string("") {
93+
if userConfig.Name == string("") || strings.Contains(userConfig.Name, "apiproxy") {
9394
continue
9495
}
9596

pkg/util/util.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import (
99
"os"
1010
)
1111

12-
const version = "3.0.1-beta.1"
12+
const version = "3.0.2-alpha.1"
1313

1414
func PrintVersion() string {
1515

0 commit comments

Comments
 (0)