Skip to content
This repository has been archived by the owner on Jan 13, 2023. It is now read-only.

Commit

Permalink
updated to latest version
Browse files Browse the repository at this point in the history
  • Loading branch information
itzmeanjan committed May 9, 2021
1 parent c219ac5 commit 6debc51
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/bootup/bootup.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ func SetGround(ctx context.Context, file string) (*data.Resource, error) {
}

_pubsub := pubsub.New(ctx)
if !_pubsub.Alive {
if !_pubsub.IsAlive() {
return nil, errors.New("failed to start pub/sub hub")
}

Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ require (
github.com/go-ole/go-ole v1.2.5 // indirect
github.com/google/go-cmp v0.5.4 // indirect
github.com/gorilla/websocket v1.4.2
github.com/itzmeanjan/pubsub v0.1.4
github.com/itzmeanjan/pubsub v0.1.5
github.com/labstack/echo/v4 v4.2.0
github.com/libp2p/go-libp2p v0.13.0
github.com/libp2p/go-libp2p-connmgr v0.2.4
Expand Down
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -359,6 +359,8 @@ github.com/ipfs/go-log/v2 v2.1.1 h1:G4TtqN+V9y9HY9TA6BwbCVyyBZ2B9MbCjR2MtGx8FR0=
github.com/ipfs/go-log/v2 v2.1.1/go.mod h1:2v2nsGfZsvvAJz13SyFzf9ObaqwHiHxsPLEHntrv9KM=
github.com/itzmeanjan/pubsub v0.1.4 h1:cKhELtYkPKW6RV60wzrwWKe/qxv1emJ24uNxy/AYXq4=
github.com/itzmeanjan/pubsub v0.1.4/go.mod h1:SaVrEsAQmxY70qWQIYQ9rWLXLElsicMcxPddiuXKfLU=
github.com/itzmeanjan/pubsub v0.1.5 h1:L2jPpw6bxnt1SGxfEfZ3Uy+Bs2EhZ9uf0OeqHONJGBE=
github.com/itzmeanjan/pubsub v0.1.5/go.mod h1:SaVrEsAQmxY70qWQIYQ9rWLXLElsicMcxPddiuXKfLU=
github.com/jackpal/gateway v1.0.5/go.mod h1:lTpwd4ACLXmpyiCTRtfiNyVnUmqT9RivzCDQetPfnjA=
github.com/jackpal/go-nat-pmp v1.0.1/go.mod h1:QPH045xvCAeXUZOxsnwmrtiCoxIr9eob+4orBN1SBKc=
github.com/jackpal/go-nat-pmp v1.0.2-0.20160603034137-1fa385a6f458/go.mod h1:QPH045xvCAeXUZOxsnwmrtiCoxIr9eob+4orBN1SBKc=
Expand Down

0 comments on commit 6debc51

Please sign in to comment.