Skip to content

Commit df5e44e

Browse files
committed
Minor useragent change
1 parent 849e977 commit df5e44e

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

config/config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ type (
149149

150150
// GetUserAgent will return the outgoing user agent
151151
func (a *AppConfig) GetUserAgent() string {
152-
return "BuxServer " + a.Environment + " " + Version
152+
return "BUX-Server " + a.Environment + " " + Version
153153
}
154154

155155
// Validate checks the configuration for specific rules

config/services_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ func TestAppConfig_GetUserAgent(t *testing.T) {
4848
ac := newTestConfig(t)
4949
require.NotNil(t, ac)
5050
agent := ac.GetUserAgent()
51-
assert.Equal(t, "BuxServer "+EnvironmentTest+" "+Version, agent)
51+
assert.Equal(t, "BUX-Server "+EnvironmentTest+" "+Version, agent)
5252
})
5353
}
5454

0 commit comments

Comments
 (0)