Skip to content

Commit

Permalink
Merge pull request #3233 from gravitl/NET-1782-addon
Browse files Browse the repository at this point in the history
NET-1782-addon
  • Loading branch information
abhishek9686 authored Dec 3, 2024
2 parents 079b2ae + aba9fa7 commit 12421f4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ type ServerConfig struct {
MetricInterval string `yaml:"metric_interval"`
ManageDNS bool `yaml:"manage_dns"`
DefaultDomain string `yaml:"default_domain"`
PublicIp string `yaml:"public_ip"`
}

// SQLConfig - Generic SQL Config
Expand Down
1 change: 1 addition & 0 deletions servercfg/serverconf.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ func GetServerConfig() config.ServerConfig {
cfg.Database = GetDB()
cfg.Platform = GetPlatform()
cfg.Version = GetVersion()
cfg.PublicIp, _ = GetPublicIP()

// == auth config ==
var authInfo = GetAuthProviderInfo()
Expand Down

0 comments on commit 12421f4

Please sign in to comment.