From a5efc3146ab9f95d56be66c34eafad8684a811b3 Mon Sep 17 00:00:00 2001 From: Alex Tymchuk Date: Mon, 18 Sep 2023 11:12:40 +0000 Subject: [PATCH] PMM-12375 fix the test --- admin/commands/management/add_mysql_test.go | 2 +- agent/serviceinfobroker/service_info_broker.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/admin/commands/management/add_mysql_test.go b/admin/commands/management/add_mysql_test.go index ce6e74c4d2..cf5c907ef6 100644 --- a/admin/commands/management/add_mysql_test.go +++ b/admin/commands/management/add_mysql_test.go @@ -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()) } }) diff --git a/agent/serviceinfobroker/service_info_broker.go b/agent/serviceinfobroker/service_info_broker.go index aa428e09e0..7ce5ae216c 100644 --- a/agent/serviceinfobroker/service_info_broker.go +++ b/agent/serviceinfobroker/service_info_broker.go @@ -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: