Skip to content

Commit d021832

Browse files
committed
fix: remove dead code
1 parent 6b3f0fa commit d021832

3 files changed

Lines changed: 0 additions & 73 deletions

File tree

‎internal/ui/components/error.go‎

Lines changed: 0 additions & 26 deletions
This file was deleted.

‎internal/ui/components/tabs.go‎

Lines changed: 0 additions & 26 deletions
This file was deleted.

‎internal/ui/uidata/model.go‎

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -119,27 +119,6 @@ type RolloutLog struct {
119119
Lines []*LogLine `json:"lines"`
120120
}
121121

122-
type ConfigSource string
123-
124-
const (
125-
ConfigSourceGlobal ConfigSource = "GLOBAL"
126-
ConfigSourceEnv ConfigSource = "ENV"
127-
ConfigSourceHelm ConfigSource = "HELM"
128-
ConfigSourceUnknown ConfigSource = "UNKNOWN"
129-
)
130-
131-
func (e ConfigSource) IsValid() bool {
132-
switch e {
133-
case ConfigSourceGlobal, ConfigSourceEnv, ConfigSourceHelm, ConfigSourceUnknown:
134-
return true
135-
}
136-
return false
137-
}
138-
139-
func (e ConfigSource) String() string {
140-
return string(e)
141-
}
142-
143122
type FeatureVersion struct {
144123
Version string
145124
Description string

0 commit comments

Comments
 (0)