summaryrefslogtreecommitdiff
path: root/plugins/status/config.go
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/status/config.go')
-rw-r--r--plugins/status/config.go18
1 files changed, 0 insertions, 18 deletions
diff --git a/plugins/status/config.go b/plugins/status/config.go
deleted file mode 100644
index f751898b..00000000
--- a/plugins/status/config.go
+++ /dev/null
@@ -1,18 +0,0 @@
-package status
-
-import "net/http"
-
-// Config is the configuration reference for the Status plugin
-type Config struct {
- // Address of the http server
- Address string
- // Status code returned in case of fail, 503 by default
- UnavailableStatusCode int `mapstructure:"unavailable_status_code"`
-}
-
-// InitDefaults configuration options
-func (c *Config) InitDefaults() {
- if c.UnavailableStatusCode == 0 {
- c.UnavailableStatusCode = http.StatusServiceUnavailable
- }
-}