Skip to content

Commit

Permalink
Merge pull request #122 from meshery/DelusionalOptimist/chore/operati…
Browse files Browse the repository at this point in the history
…on-name

[chore] make NSM install operation name compliant with SMP protos
  • Loading branch information
leecalcote authored Aug 5, 2021
2 parents 3b3fe68 + 3889d9b commit a6f8014
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions internal/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ package config

import (
"path"
"strings"

"github.com/layer5io/meshery-adapter-library/common"
"github.com/layer5io/meshery-adapter-library/config"
Expand All @@ -13,10 +14,6 @@ import (
)

const (
// NSMMeshOperation is the default name for the install
// and uninstall commands on the nsm mesh
NSMMeshOperation = "nsm"

// HelmChart is the key name used in the map to store Helm Chart name
HelmChart = "helm-chart"

Expand All @@ -31,6 +28,10 @@ const (
)

var (
// NSMMeshOperation is the default name for the install
// and uninstall commands on the nsm mesh
NSMMeshOperation = strings.ToLower(smp.ServiceMesh_NETWORK_SERVICE_MESH.Enum().String())

configRootPath = path.Join(utils.GetHome(), ".meshery")

// Config is the collection of ServerConfig, MeshConfig and ProviderConfig
Expand Down

0 comments on commit a6f8014

Please sign in to comment.