Migration to AGL gerrit (update go import)
[src/xds/xds-server.git] / lib / xdsserver / apiv1-exec.go
index 47e85ea..2337de6 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2017 "IoT.bzh"
+ * Copyright (C) 2017-2018 "IoT.bzh"
  * Author Sebastien Douheret <sebastien@iot.bzh>
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -26,10 +26,10 @@ import (
        "strings"
        "time"
 
+       common "gerrit.automotivelinux.org/gerrit/src/xds/xds-common.git/golib"
+       "gerrit.automotivelinux.org/gerrit/src/xds/xds-common.git/golib/eows"
+       "gerrit.automotivelinux.org/gerrit/src/xds/xds-server/lib/xsapiv1"
        "github.com/gin-gonic/gin"
-       common "github.com/iotbzh/xds-common/golib"
-       "github.com/iotbzh/xds-common/golib/eows"
-       "github.com/iotbzh/xds-server/lib/xsapiv1"
        "github.com/kr/pty"
 )
 
@@ -143,7 +143,7 @@ func (s *APIService) execCmd(c *gin.Context) {
        // 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