Skip to content

Commit

Permalink
Remove unused traitPath variable and schemaDefinitionPathSet type fro…
Browse files Browse the repository at this point in the history
…m register.go

Signed-off-by: devhindo <[email protected]>
  • Loading branch information
devhindo committed Dec 28, 2024
1 parent 8b31266 commit 1409a82
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion cilium/oam/register.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,19 +15,22 @@ var (
//WorkloadPath will be used by both static and component generation
WorkloadPath = filepath.Join(basePath, "templates", "oam", "workloads")
MeshmodelComponents = filepath.Join(basePath, "templates", "meshmodel", "components")
traitPath = filepath.Join(basePath, "templates", "oam", "traits")
// traitPath = filepath.Join(basePath, "templates", "oam", "traits") <= unused variable
basePath, _ = os.Getwd()
)

// AvailableVersions denote the component versions available statically
var AvailableVersions = map[string]bool{}
var availableVersionGlobalMutex sync.Mutex

// unused type
/*
type schemaDefinitionPathSet struct {
oamDefinitionPath string
jsonSchemaPath string
name string
}
*/

type meshmodelDefinitionPathSet struct {
meshmodelDefinitionPath string
Expand Down

0 comments on commit 1409a82

Please sign in to comment.