mirror of
https://github.com/gravitl/netmaker.git
synced 2025-10-05 16:57:51 +08:00
Merge pull request #3441 from gravitl/nmctl-access-token
feat: add support for user access tokens in nmctl
This commit is contained in:
@@ -192,7 +192,7 @@ retry:
|
||||
body := new(T)
|
||||
if len(resBodyBytes) > 0 {
|
||||
if err := json.Unmarshal(resBodyBytes, body); err != nil {
|
||||
log.Fatalf("Error unmarshalling JSON: %s", err)
|
||||
log.Fatalf("Error unmarshalling JSON: %s %s", err, string(resBodyBytes))
|
||||
}
|
||||
}
|
||||
return body
|
||||
|
Reference in New Issue
Block a user