mirror of
https://github.com/openziti/zrok.git
synced 2025-06-25 04:02:15 +02:00
println
This commit is contained in:
parent
5090e61a8f
commit
c715719e83
@ -1,10 +1,10 @@
|
|||||||
package main
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
"fmt"
|
||||||
"github.com/openziti/zrok/controller"
|
"github.com/openziti/zrok/controller"
|
||||||
"github.com/openziti/zrok/controller/config"
|
"github.com/openziti/zrok/controller/config"
|
||||||
"github.com/openziti/zrok/controller/store"
|
"github.com/openziti/zrok/controller/store"
|
||||||
"github.com/sirupsen/logrus"
|
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -62,5 +62,5 @@ func (cmd *adminCreateAccount) run(_ *cobra.Command, args []string) {
|
|||||||
if _, err := str.CreateAccount(a, trx); err != nil {
|
if _, err := str.CreateAccount(a, trx); err != nil {
|
||||||
panic(err)
|
panic(err)
|
||||||
}
|
}
|
||||||
logrus.Infof("account token = %v", token)
|
fmt.Println(token)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user