Agent Mesh
Go a2aa2a-protocolagent-meshagentic-aiinferencemcpmeshmesh-networknetwork-securitynetworking-aip2p-network
assert error
Antonio Ojeaa4e5c2104261
diff --git a/cmd/sam-node/store.go b/cmd/sam-node/store.goindex 6380b230..e5b1de41 100644--- a/cmd/sam-node/store.go+++ b/cmd/sam-node/store.go@@ -16,6 +16,7 @@ package mainimport ("encoding/json"+ "errors""fmt""os""path/filepath"@@ -53,7 +54,7 @@ func NewStore(dir string) (*Store, error) {dbPath := filepath.Join(dir, "agent.db")db, err := bbolt.Open(dbPath, 0600, &bbolt.Options{Timeout: 5 * time.Second})if err != nil {- if err == bbolterrors.ErrTimeout {+ if errors.Is(err, bbolterrors.ErrTimeout) {return nil, fmt.Errorf("timeout waiting for file lock, is another instance of sam-node running?")}return nil, err