Skip to content

Commit

Permalink
PMM-12375 fix the test
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Tymchuk committed Sep 18, 2023
1 parent 6ed2921 commit a5efc31
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion admin/commands/management/add_mysql_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ func TestRun(t *testing.T) {
_, err := cmd.RunCmd()

if assert.Error(t, err) {
expected := "Unrecognized option. To create a user, see 'https://www.percona.com/doc/percona-monitoring-and-management/2.x/concepts/services-mysql.html#pmm-conf-mysql-user-account-creating'"
expected := "Unrecognized option. To create a user, see 'https://docs.percona.com/percona-monitoring-and-management/setting-up/client/mysql.html#create-a-database-account-for-pmm'"
assert.Equal(t, expected, err.Error())
}
})
Expand Down
2 changes: 1 addition & 1 deletion agent/serviceinfobroker/service_info_broker.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ func (sib *ServiceInfoBroker) GetInfoFromService(ctx context.Context, msg *agent
return sib.getPostgreSQLInfo(ctx, msg.Dsn, msg.TextFiles, id)
case inventorypb.ServiceType_PROXYSQL_SERVICE:
return sib.getProxySQLInfo(ctx, msg.Dsn)
// NOTE: these types can't be implemented for now.
// NOTE: these types may be implemented later.
case inventorypb.ServiceType_EXTERNAL_SERVICE, inventorypb.ServiceType_HAPROXY_SERVICE:
return &agentpb.ServiceInfoResponse{}
default:
Expand Down

0 comments on commit a5efc31

Please sign in to comment.