mirror of
https://git.vectorsigma.ru/public/headscale.git
synced 2026-07-31 20:27:49 +00:00
cli: remove leftover trace log from #3324 that always renders a JSON marshaling error
Noticed this while testing out #3394.
This commit is contained in:
committed by
Kristoffer Dalby
parent
6275e3a356
commit
dc3c0bc587
@@ -118,8 +118,6 @@ var createUserCmd = &cobra.Command{
|
||||
RunE: clientRunE(func(ctx context.Context, client *clientv1.ClientWithResponses, cmd *cobra.Command, args []string) error {
|
||||
userName := args[0]
|
||||
|
||||
log.Trace().Interface(zf.Client, client).Msg("obtained API client")
|
||||
|
||||
request := clientv1.CreateUserJSONRequestBody{Name: &userName}
|
||||
|
||||
if displayName, _ := cmd.Flags().GetString("display-name"); displayName != "" {
|
||||
|
||||
Reference in New Issue
Block a user