Commit d77778b 1 parent 139e308 commit d77778b Copy full SHA for d77778b
File tree 1 file changed +3
-4
lines changed
1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -34,8 +34,6 @@ import (
34
34
"syscall"
35
35
"time"
36
36
37
- "github.com/centrifugal/centrifugo/v5/internal/redisnatsbroker"
38
-
39
37
"github.com/centrifugal/centrifugo/v5/internal/admin"
40
38
"github.com/centrifugal/centrifugo/v5/internal/api"
41
39
"github.com/centrifugal/centrifugo/v5/internal/build"
@@ -52,6 +50,7 @@ import (
52
50
"github.com/centrifugal/centrifugo/v5/internal/notify"
53
51
"github.com/centrifugal/centrifugo/v5/internal/origin"
54
52
"github.com/centrifugal/centrifugo/v5/internal/proxy"
53
+ "github.com/centrifugal/centrifugo/v5/internal/redisnatsbroker"
55
54
"github.com/centrifugal/centrifugo/v5/internal/rule"
56
55
"github.com/centrifugal/centrifugo/v5/internal/service"
57
56
"github.com/centrifugal/centrifugo/v5/internal/survey"
@@ -1074,8 +1073,8 @@ func main() {
1074
1073
user = "anonymous user"
1075
1074
}
1076
1075
exp := "without expiration"
1077
- if genTokenTTL >= 0 {
1078
- exp = fmt .Sprintf ("with expiration TTL %s" , time .Duration (genTokenTTL )* time .Second )
1076
+ if genSubTokenTTL >= 0 {
1077
+ exp = fmt .Sprintf ("with expiration TTL %s" , time .Duration (genSubTokenTTL )* time .Second )
1079
1078
}
1080
1079
if genSubTokenQuiet {
1081
1080
fmt .Print (token )
You can’t perform that action at this time.
0 commit comments