From 5e979f0ba451e64fc44ffaa8b79d714d9ad75a57 Mon Sep 17 00:00:00 2001 From: Clément Bénier Date: Mon, 1 Oct 2018 11:51:47 +0200 Subject: update xds-server package in docker MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit scripts/package-update: bash scripts to update xds-server package in docker monitor updates: default time is 24h, a update is tried at startup api/v1: 2 new requests: - get(updates): return various information about xds-server packages - post(updates): update xds-server packages Change-Id: I1673f7860e57cfe1d4abe5a24609ee46a90b67d8 Signed-off-by: Clément Bénier --- lib/xdsserver/sdks.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/xdsserver/sdks.go') diff --git a/lib/xdsserver/sdks.go b/lib/xdsserver/sdks.go index 5a8a1fa..685f19d 100644 --- a/lib/xdsserver/sdks.go +++ b/lib/xdsserver/sdks.go @@ -50,7 +50,7 @@ func SDKsConstructor(ctx *Context) (*SDKs, error) { scriptsDir := ctx.Config.FileConf.SdkScriptsDir if !common.Exists(scriptsDir) { - // allow to use scripts/sdk in debug mode + // allow to use scripts/sdk when debugging with vscode(EXEPATH=WORKSPACE) scriptsDir = filepath.Join(filepath.Dir(ctx.Config.FileConf.SdkScriptsDir), "scripts", "sdks") if !common.Exists(scriptsDir) { return &s, fmt.Errorf("scripts directory doesn't exist (%v)", scriptsDir) -- cgit 1.2.3-korg