Skip to content

Commit

Permalink
go/runtime/host: Review comments (cosmetics)
Browse files Browse the repository at this point in the history
Co-authored-by: Jernej Kos <jernej@kos.mx>
  • Loading branch information
mitjat and kostko committed May 24, 2022
1 parent b1a7091 commit 123d0f1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions go/runtime/host/sandbox/sandbox.go
Original file line number Diff line number Diff line change
Expand Up @@ -534,8 +534,9 @@ func New(cfg Config) (host.Provisioner, error) {
cfg.GetSandboxConfig = func(hostCfg host.Config, socketPath, runtimeDir string) (process.Config, error) {
logWrapper := host.NewRuntimeLogWrapper(
cfg.Logger,
"runtime_id", hostCfg.Bundle.Manifest.ID.Hex(),
"runtime_name", hostCfg.Bundle.Manifest.Name)
"runtime_id", hostCfg.Bundle.Manifest.ID,
"runtime_name", hostCfg.Bundle.Manifest.Name,
)
return process.Config{
Path: hostCfg.Bundle.Path,
Env: map[string]string{
Expand Down
5 changes: 3 additions & 2 deletions go/runtime/host/sgx/sgx.go
Original file line number Diff line number Diff line change
Expand Up @@ -187,8 +187,9 @@ func (s *sgxProvisioner) getSandboxConfig(rtCfg host.Config, socketPath, runtime

logWrapper := host.NewRuntimeLogWrapper(
s.logger,
"runtime_id", rtCfg.Bundle.Manifest.ID.Hex(),
"runtime_name", rtCfg.Bundle.Manifest.Name)
"runtime_id", rtCfg.Bundle.Manifest.ID,
"runtime_name", rtCfg.Bundle.Manifest.Name,
)

return process.Config{
Path: s.cfg.LoaderPath,
Expand Down

0 comments on commit 123d0f1

Please sign in to comment.