Skip to content

Commit

Permalink
gofmt
Browse files Browse the repository at this point in the history
Signed-off-by: Lee Calcote <lee.calcote@layer5.io>
  • Loading branch information
leecalcote committed Jul 19, 2023
1 parent b3970bd commit 094c8ed
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion build/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const Component = "NGINX Service Mesh"

var MeshModelConfig = adapter.MeshModelConfig{ //Move to build/config.go
Category: "Cloud Native Network",
Metadata: map[string]interface{}{},
Metadata: map[string]interface{}{},
}

// NewConfig creates the configuration for creating components
Expand Down
5 changes: 2 additions & 3 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -188,11 +188,10 @@ func registerWorkloads(port string, log logger.Handler) {

//Now we will register in case
log.Info("Registering workloads with Meshery Server for version ", version)



if err := oam.RegisterMeshModelComponents(instanceID, mesheryServerAddress(), serviceAddress(), port); err != nil {
log.Info(err.Error())
return
}
log.Info("Latest workload components successfully registered for version ", version)
}
}
2 changes: 1 addition & 1 deletion nginx/oam/register.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
)

var (
basePath, _ = os.Getwd()
basePath, _ = os.Getwd()
MeshmodelComponents = filepath.Join(basePath, "templates", "meshmodel", "components")
)

Expand Down

0 comments on commit 094c8ed

Please sign in to comment.