util: remove unused context.Context from GetPoolName()

Signed-off-by: Niels de Vos <ndevos@redhat.com>
This commit is contained in:
Niels de Vos
2020-05-14 15:28:14 +02:00
committed by mergify[bot]
parent ec61f0746b
commit 3fea4fa827
3 changed files with 6 additions and 6 deletions

View File

@ -108,7 +108,7 @@ func GetPoolID(monitors string, cr *Credentials, poolName string) (int64, error)
// GetPoolName fetches the pool whose pool ID is equal to the requested poolID
// parameter
func GetPoolName(ctx context.Context, monitors string, cr *Credentials, poolID int64) (string, error) {
func GetPoolName(monitors string, cr *Credentials, poolID int64) (string, error) {
conn, err := connPool.Get(monitors, cr.ID, cr.KeyFile)
if err != nil {
return "", err