From 3d6bc43ff19ad514921d1b5382c68b1aeda8b8b0 Mon Sep 17 00:00:00 2001 From: Anbraten Date: Tue, 12 Oct 2021 12:00:03 +0200 Subject: [PATCH] Remove unused repo-config option (#432) --- cmd/server/server.go | 1 - server/config.go | 1 - 2 files changed, 2 deletions(-) diff --git a/cmd/server/server.go b/cmd/server/server.go index 3d3072461..e014accfc 100644 --- a/cmd/server/server.go +++ b/cmd/server/server.go @@ -266,7 +266,6 @@ func setupEvilGlobals(c *cli.Context, v store.Store, r remote.Remote) { server.Config.Server.Pass = c.String("agent-secret") server.Config.Server.Host = c.String("server-host") server.Config.Server.Port = c.String("server-addr") - server.Config.Server.RepoConfig = c.String("repo-config") server.Config.Server.SessionExpires = c.Duration("session-expires") server.Config.Pipeline.Networks = c.StringSlice("network") server.Config.Pipeline.Volumes = c.StringSlice("volume") diff --git a/server/config.go b/server/config.go index 7a5359c00..0fb793fa4 100644 --- a/server/config.go +++ b/server/config.go @@ -53,7 +53,6 @@ var Config = struct { Host string Port string Pass string - RepoConfig string SessionExpires time.Duration // Open bool // Orgs map[string]struct{}