Skip to content

Commit

Permalink
nit
Browse files Browse the repository at this point in the history
  • Loading branch information
hexfusion committed Jun 23, 2023
1 parent 2895a1c commit 56618a5
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions vms/rpcchainvm/factory.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,10 +83,9 @@ func (f *factory) New(log logging.Logger) (interface{}, error) {
f.runtimeTracker.TrackRuntime(stopper)

case RuntimeContainer:
podPath := fmt.Sprintf("%s_pod.yaml", f.path)
podBytes, err := os.ReadFile(podPath)
podBytes, err := os.ReadFile(f.path)
if err != nil {
return nil, fmt.Errorf("failed to read pod yaml: %q", podPath)
return nil, fmt.Errorf("failed to read pod yaml: %q", f.path)
}
config := &container.Config{
PodBytes: podBytes,
Expand Down

0 comments on commit 56618a5

Please sign in to comment.