From 7767c775c48ab24d1a7a156e84fdc88f16995adb Mon Sep 17 00:00:00 2001 From: Dmitry Ivankov Date: Mon, 16 Oct 2023 15:26:51 +0200 Subject: [PATCH] fmt --- src/main/scala/cognite/spark/v1/DefaultSource.scala | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/main/scala/cognite/spark/v1/DefaultSource.scala b/src/main/scala/cognite/spark/v1/DefaultSource.scala index da9ffe729..3e5b55ac6 100644 --- a/src/main/scala/cognite/spark/v1/DefaultSource.scala +++ b/src/main/scala/cognite/spark/v1/DefaultSource.scala @@ -346,12 +346,7 @@ object DefaultSource { } clientId <- parameters.get("clientId") clientSecret <- parameters.get("clientSecret") - clientCredentials = OAuth2.ClientCredentials( - tokenUri, - clientId, - clientSecret, - scopes, - audience) + clientCredentials = OAuth2.ClientCredentials(tokenUri, clientId, clientSecret, scopes, audience) } yield CdfSparkAuth.OAuth2ClientCredentials(clientCredentials) val session = for {