Skip to content

Commit

Permalink
refactoring response message
Browse files Browse the repository at this point in the history
  • Loading branch information
John-Lin committed Jul 18, 2018
1 parent 35aeacb commit 23f8e98
Show file tree
Hide file tree
Showing 5 changed files with 377 additions and 429 deletions.
6 changes: 3 additions & 3 deletions client/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,8 @@ func main() {
log.Fatalf("There is something wrong with find network namespace pathpart.\n %v", err)
}
common.CheckFatal(
findNetworkNamespacePathResp.Success,
findNetworkNamespacePathResp.Reason,
findNetworkNamespacePathResp.ServerResponse.Success,
findNetworkNamespacePathResp.ServerResponse.Reason,
"Find network namesace path",
)

Expand Down Expand Up @@ -143,7 +143,7 @@ func main() {
log.Fatalf("There is something wrong with setting configure interface: %v", err)
}
common.CheckFatal(
connectBridgeResp.Success,
configureIfaceResp.Success,
configureIfaceResp.Reason,
"Configure interface",
)
Expand Down
Loading

0 comments on commit 23f8e98

Please sign in to comment.