diff --git a/commands/management/add_mongodb.go b/commands/management/add_mongodb.go index f1f05139..8e8ce295 100644 --- a/commands/management/add_mongodb.go +++ b/commands/management/add_mongodb.go @@ -143,7 +143,6 @@ func (cmd *addMongoDBCommand) RunWithContext(ctx context.Context) (commands.Resu logrus.Warnf("Failed to encrypt password: %s", err) password = cmd.Password } - password = cmd.Password params := &mongodb.AddMongoDBParams{ Body: mongodb.AddMongoDBBody{ diff --git a/go.sum b/go.sum index 88b6de53..14d366ea 100644 --- a/go.sum +++ b/go.sum @@ -111,8 +111,8 @@ github.com/oklog/ulid v1.3.1/go.mod h1:CirwcVhetQ6Lv90oh/F+FBtV6XMibvdAFo93nm5qn github.com/opentracing/opentracing-go v1.2.0 h1:uEJPy/1a5RIPAJ0Ov+OIO8OxWu77jEv+1B0VhjKrZUs= github.com/opentracing/opentracing-go v1.2.0/go.mod h1:GxEUsuufX4nBwe+T+Wl9TAgYrxe9dPLANfrWvHYVTgc= github.com/pelletier/go-toml v1.7.0/go.mod h1:vwGMzjaWMwyfHwgIBhI2YUM4fB6nL6lVAvS1LBMMhTE= -github.com/percona/pmm v0.0.0-20220505164356-d8b4097358e1 h1:Iil3UzE49DPn4keMZ4apU396bzRJRQZvNGJc8jWRp08= -github.com/percona/pmm v0.0.0-20220505164356-d8b4097358e1/go.mod h1:k7HS59HPX33tmrSZGiNzUTYuLr0+a49F3BEZ48MAbuo= +github.com/percona/pmm v0.0.0-20220517103327-478f442e214b h1:tTMyx2ssYfNCUyNu6pLDhARYhlQAmFz967hUZkycMJM= +github.com/percona/pmm v0.0.0-20220517103327-478f442e214b/go.mod h1:CyTSJFtA0+LPGLnC8rE3tr8nDbfP/QkJ9+HyUzimsR4= github.com/pkg/errors v0.8.0/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4=