Code Review
/
src
/
xds
/
xds-server.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Standardized XDS config file name and location.
[src/xds/xds-server.git]
/
lib
/
xdsserver
/
apiv1-exec.go
diff --git
a/lib/xdsserver/apiv1-exec.go
b/lib/xdsserver/apiv1-exec.go
index
47e85ea
..
bc45fdb
100644
(file)
--- a/
lib/xdsserver/apiv1-exec.go
+++ b/
lib/xdsserver/apiv1-exec.go
@@
-143,7
+143,7
@@
func (s *APIService) execCmd(c *gin.Context) {
// Set command execution timeout
if args.CmdTimeout == 0 {
// 0 : default timeout
// Set command execution timeout
if args.CmdTimeout == 0 {
// 0 : default timeout
- // TODO get default timeout from config.json file
+ // TODO get default timeout from
server-
config.json file
execWS.CmdExecTimeout = 24 * 60 * 60 // 1 day
} else {
execWS.CmdExecTimeout = args.CmdTimeout
execWS.CmdExecTimeout = 24 * 60 * 60 // 1 day
} else {
execWS.CmdExecTimeout = args.CmdTimeout