Skip to content

Commit

Permalink
Pass nodes and pipes via inspect
Browse files Browse the repository at this point in the history
  • Loading branch information
simonswain committed May 16, 2014
1 parent 1197ca2 commit b45be0e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/topology.js
Expand Up @@ -320,7 +320,10 @@ Topology.prototype.destroy = function(done) {


Topology.prototype.inspect = function() {
return this.nodes;
return {
nodes: this.nodes,
pipes: this.pipes
}
};


Expand Down

0 comments on commit b45be0e

Please sign in to comment.