ar: stringify CNI result debug message

This commit is contained in:
Nick Ethier 2021-04-05 12:35:34 -04:00 committed by GitHub
parent 6e8419c7d3
commit 5aed5b7cd4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -114,7 +114,7 @@ func (c *cniNetworkConfigurator) Setup(ctx context.Context, alloc *structs.Alloc
if c.logger.IsDebug() {
resultJSON, _ := json.Marshal(res)
c.logger.Debug("received result from CNI", "result", resultJSON)
c.logger.Debug("received result from CNI", "result", string(resultJSON))
}
netStatus := new(structs.AllocNetworkStatus)