Skip to content

Commit

Permalink
@2661842 In our direct flow module, take the default action of returning
Browse files Browse the repository at this point in the history
  • Loading branch information
Avinash Kumar authored and tsuna committed Oct 7, 2015
1 parent 12f2406 commit 1187dc7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions eos/inline/types/directflow.h
Original file line number Diff line number Diff line change
Expand Up @@ -626,6 +626,8 @@ operator<<(std::ostream& os, const flow_status_t & enum_val) {
os << "FLOW_DELETED";
} else if (enum_val==FLOW_REJECTED) {
os << "FLOW_REJECTED";
} else if (enum_val==FLOW_PENDING) {
os << "FLOW_PENDING";
} else {
os << "Unknown value";
}
Expand Down
2 changes: 2 additions & 0 deletions eos/types/directflow.h
Original file line number Diff line number Diff line change
Expand Up @@ -346,6 +346,8 @@ enum flow_status_t {
FLOW_DELETED,
/** Flow not created. */
FLOW_REJECTED,
/** Flow requesting hardware resources. */
FLOW_PENDING,
};
/** Appends a string representation of enum flow_status_t value to the ostream. */
std::ostream& operator<<(std::ostream& os, const flow_status_t & enum_val);
Expand Down

0 comments on commit 1187dc7

Please sign in to comment.