aboutsummaryrefslogtreecommitdiffstats
path: root/modules/graceful/server_http.go
diff options
context:
space:
mode:
authorzeripath <art27@cantab.net>2019-10-16 16:43:44 +0100
committerGitHub <noreply@github.com>2019-10-16 16:43:44 +0100
commitd4cd4ed4422be222088dd8535a228b906f43fdc2 (patch)
tree8c5d0f000904c56c70110e680134c2feb83eacda /modules/graceful/server_http.go
parentfcb535c5c3b6b782d9242028fed4cd8c027c4e41 (diff)
downloadgitea-d4cd4ed4422be222088dd8535a228b906f43fdc2.tar.gz
gitea-d4cd4ed4422be222088dd8535a228b906f43fdc2.zip
Restrict modules/graceful to non-windows build and shim the IsChild marker (#8537)
Diffstat (limited to 'modules/graceful/server_http.go')
-rw-r--r--modules/graceful/server_http.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/graceful/server_http.go b/modules/graceful/server_http.go
index 1052637d5e..446f0f5551 100644
--- a/modules/graceful/server_http.go
+++ b/modules/graceful/server_http.go
@@ -1,3 +1,5 @@
+// +build !windows
+
// Copyright 2019 The Gitea Authors. All rights reserved.
// Use of this source code is governed by a MIT-style
// license that can be found in the LICENSE file.