mirror of
https://github.com/kemko/nomad.git
synced 2026-01-06 18:35:44 +03:00
client: remove unnecessary debugging from consul client mock (#18807)
This commit is contained in:
committed by
GitHub
parent
8b9a5fde4e
commit
0410b8acea
@@ -6,7 +6,6 @@ package consul
|
||||
import (
|
||||
"crypto/md5"
|
||||
"encoding/hex"
|
||||
"fmt"
|
||||
|
||||
"github.com/hashicorp/go-hclog"
|
||||
"github.com/hashicorp/nomad/nomad/structs/config"
|
||||
@@ -28,7 +27,6 @@ func (mc *MockConsulClient) DeriveSITokenWithJWT(reqs map[string]JWTLoginRequest
|
||||
|
||||
tokens := make(map[string]string, len(reqs))
|
||||
for id := range reqs {
|
||||
fmt.Println(id)
|
||||
hash := md5.Sum([]byte(id))
|
||||
tokens[id] = hex.EncodeToString(hash[:])
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user