From 622abf707da2dea75e1a5d0fccb5acd25ff810c7 Mon Sep 17 00:00:00 2001 From: Martin Atkins Date: Wed, 22 Apr 2020 18:53:12 -0700 Subject: [PATCH] command/cliconfig: Remove redundant struct types These were being used in an earlier iteration of the provider installation configuration but it was all collapsed down into a single ProviderInstallationMethod type later, making these redundant. --- command/cliconfig/cliconfig.go | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/command/cliconfig/cliconfig.go b/command/cliconfig/cliconfig.go index c765132d8d..2aecfb9d12 100644 --- a/command/cliconfig/cliconfig.go +++ b/command/cliconfig/cliconfig.go @@ -63,22 +63,6 @@ type ConfigCredentialsHelper struct { Args []string `hcl:"args"` } -// ConfigProviderInstallationFilesystemMirror represents a "filesystem_mirror" -// block inside ConfigProviderInstallation. -type ConfigProviderInstallationFilesystemMirror struct { - Path string `hcl:"path"` - Include []string `hcl:"include"` - Exclude []string `hcl:"exclude"` -} - -// ConfigProviderInstallationNetworkMirror represents a "network_mirror" block -// inside ConfigProviderInstallation. -type ConfigProviderInstallationNetworkMirror struct { - Hostname string `hcl:"hostname"` - Include []string `hcl:"include"` - Exclude []string `hcl:"exclude"` -} - // BuiltinConfig is the built-in defaults for the configuration. These // can be overridden by user configurations. var BuiltinConfig Config