Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
tudor-malene committed May 9, 2024
1 parent 8d3c159 commit b0069fe
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions go/node/docker_node.go
Original file line number Diff line number Diff line change
Expand Up @@ -193,11 +193,10 @@ func (d *DockerNode) startEnclave() error {
cmd = append(cmd, "-willAttest=false")
}

// we'll only need the volume when we'll have upgrade scenarios
//enclaveVolume := map[string]string{d.cfg.nodeName + "-enclave-volume": _enclaveDataDir}
//_, err := docker.StartNewContainer(d.cfg.nodeName+"-enclave", d.cfg.enclaveImage, cmd, exposedPorts, envs, devices, enclaveVolume)
// we need the enclave volume to store the db credentials
enclaveVolume := map[string]string{d.cfg.nodeName + "-enclave-volume": _enclaveDataDir}
_, err := docker.StartNewContainer(d.cfg.nodeName+"-enclave", d.cfg.enclaveImage, cmd, exposedPorts, envs, devices, enclaveVolume)

_, err := docker.StartNewContainer(d.cfg.nodeName+"-enclave", d.cfg.enclaveImage, cmd, exposedPorts, envs, devices, nil)
return err
}

Expand Down

0 comments on commit b0069fe

Please sign in to comment.