Skip to content

Commit

Permalink
modify the code
Browse files Browse the repository at this point in the history
Former-commit-id: c981bfa213ad5b016f0ed5000640fe90f7721567 [formerly bba1ebc]
Former-commit-id: eb84c78f7c7e8213e935c93f563c4b44bdfa5406
  • Loading branch information
WakeupTsai committed Jun 14, 2018
1 parent 2a64861 commit fd7fb1b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/server/handler_network.go
Original file line number Diff line number Diff line change
Expand Up @@ -159,9 +159,8 @@ func GetNetworkHandler(ctx *web.Context) {
}
response.InternalServerError(req.Request, resp.ResponseWriter, err)
return
} else {
resp.WriteEntity(network)
}
resp.WriteEntity(network)
}

func DeleteNetworkHandler(ctx *web.Context) {
Expand Down

0 comments on commit fd7fb1b

Please sign in to comment.