Skip to content

Commit

Permalink
move podman client into container
Browse files Browse the repository at this point in the history
  • Loading branch information
hexfusion committed Jun 23, 2023
1 parent a965d1f commit 330ac09
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package podman
package container

import (
"context"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package podman
package container

import (
"bytes"
Expand Down
6 changes: 4 additions & 2 deletions vms/rpcchainvm/runtime/container/runtime.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ import (

"go.uber.org/zap"

"github.com/ava-labs/avalanchego/utils/logging"
"github.com/ava-labs/avalanchego/vms/rpcchainvm/grpcutils"
"github.com/ava-labs/avalanchego/vms/rpcchainvm/gruntime"
"github.com/ava-labs/avalanchego/vms/rpcchainvm/runtime"
"github.com/ava-labs/avalanchego/utils/logging"

"github.com/ava-labs/avalanchego/vms/rpcchainvm/runtime/podman"

Check failure on line 21 in vms/rpcchainvm/runtime/container/runtime.go

View workflow job for this annotation

GitHub Actions / build_unit_test (ubuntu-20.04)

no required module provides package github.com/ava-labs/avalanchego/vms/rpcchainvm/runtime/podman; to add it:

Check failure on line 21 in vms/rpcchainvm/runtime/container/runtime.go

View workflow job for this annotation

GitHub Actions / build_unit_test (ubuntu-22.04)

no required module provides package github.com/ava-labs/avalanchego/vms/rpcchainvm/runtime/podman; to add it:

pb "github.com/ava-labs/avalanchego/proto/pb/vm/runtime"
)
Expand Down Expand Up @@ -64,6 +64,8 @@ func Bootstrap(

serverAddr := listener.Addr()

Check failure on line 65 in vms/rpcchainvm/runtime/container/runtime.go

View workflow job for this annotation

GitHub Actions / Static analysis

serverAddr declared but not used (typecheck)

podman.NewClient()

// set pod ENV
// cmd.Env = append(cmd.Env, fmt.Sprintf("%s=%s", runtime.EngineAddressKey, serverAddr.String()))
// pass golang debug env to subprocess
Expand Down

0 comments on commit 330ac09

Please sign in to comment.