Skip to content

Commit

Permalink
Fix lint issue
Browse files Browse the repository at this point in the history
Signed-off-by: MUzairS15 <[email protected]>
  • Loading branch information
MUzairS15 committed Jun 2, 2022
1 parent 257bf3b commit 3f860b7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions internal/config/default_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,13 @@ package config

import (
"time"

"github.com/spf13/viper"
)

var (
Server = map[string]string{
"name": "meshery-meshsync",
"port": "11000",
"version": viper.GetString("BUILD"),
"version": "latest",
"startedat": time.Now().String(),
}

Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ func main() {
}

cfg.SetKey(config.BrokerURL, os.Getenv("BROKER_URL"))

config.Server["version"] = version
err = cfg.SetObject(config.ServerKey, config.Server)
if err != nil {
Expand Down

0 comments on commit 3f860b7

Please sign in to comment.