Skip to content

Commit

Permalink
refactor: remove unused constants and variables
Browse files Browse the repository at this point in the history
  • Loading branch information
phillebaba committed Jun 19, 2024
1 parent c8abe31 commit da8aa8c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
5 changes: 0 additions & 5 deletions src/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
package config

import (
"embed"
"fmt"
"os"
"path/filepath"
Expand All @@ -20,9 +19,6 @@ import (
const (
GithubProject = "defenseunicorns/zarf"

// ZarfMaxChartNameLength limits helm chart name size to account for K8s/helm limits and zarf prefix
ZarfMaxChartNameLength = 40

ZarfAgentHost = "agent-hook.zarf.svc"

ZarfConnectLabelName = "zarf.dev/connect-name"
Expand Down Expand Up @@ -77,7 +73,6 @@ var (
NoColor bool

CosignPublicKey string
ZarfSchema embed.FS

// Timestamp of when the CLI was started
operationStartTime = time.Now().Unix()
Expand Down
3 changes: 0 additions & 3 deletions src/config/lang/english.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@ import (
const (
ErrLoadState = "Failed to load the Zarf State from the cluster."
ErrSaveState = "Failed to save the Zarf State to the cluster."
ErrLoadPackageSecret = "Failed to load %s's secret from the cluster"
ErrNoClusterConnection = "Failed to connect to the cluster."
ErrTunnelFailed = "Failed to create a tunnel to the cluster."
ErrUnmarshal = "failed to unmarshal file: %w"
ErrWritingFile = "failed to write file %s: %s"
ErrDownloading = "failed to download %s: %s"
Expand Down

0 comments on commit da8aa8c

Please sign in to comment.