Skip to content

Commit

Permalink
Update guest file even if it will be removed later on
Browse files Browse the repository at this point in the history
  • Loading branch information
mikelsr authored and lthibault committed Jul 17, 2023
1 parent c1a4d0b commit c6494be
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions guest/tinygo/ww.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (

"capnproto.org/go/capnp/v3/rpc"

"github.com/wetware/ww/internal/api/cluster"
api "github.com/wetware/ww/api/cluster"

"github.com/stealthrocket/wazergo/types"
)
Expand All @@ -16,8 +16,8 @@ var conn = rpc.NewConn(rpc.NewStreamTransport(hostPipe{}), nil)

// Bootstrap returns the host capability exported by the Wetware
// runtime.
func Bootstrap(ctx context.Context) cluster.Host {
return cluster.Host(conn.Bootstrap(ctx))
func Bootstrap(ctx context.Context) api.Host {
return api.Host(conn.Bootstrap(ctx))
}

type hostPipe struct{}
Expand Down

0 comments on commit c6494be

Please sign in to comment.