Signed-off-by: cuiyili 2268260388@qq.com --- container/result-webdav/nginx.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/container/result-webdav/nginx.conf b/container/result-webdav/nginx.conf index f077fca..1feddd4 100644 --- a/container/result-webdav/nginx.conf +++ b/container/result-webdav/nginx.conf @@ -46,7 +46,7 @@ http { link_name = "latest" else tmp_name = string.match(upload_file, "(.*)_%d+%.cgz") - if not tmp_name then + if tmp_name then link_name = tmp_name else return
On Tue, Dec 22, 2020 at 08:57:26PM +0800, Cui Yili wrote:
Signed-off-by: cuiyili 2268260388@qq.com
container/result-webdav/nginx.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/container/result-webdav/nginx.conf b/container/result-webdav/nginx.conf index f077fca..1feddd4 100644 --- a/container/result-webdav/nginx.conf +++ b/container/result-webdav/nginx.conf @@ -46,7 +46,7 @@ http { link_name = "latest" else tmp_name = string.match(upload_file, "(.*)_%d+%.cgz")
if not tmp_name then
if tmp_name then
^----here should have ';' for shell?
Thanks, Liushaofei
link_name = tmp_name else return
-- 2.23.0