diff --git a/.git-blame-ignore-revs b/.git-blame-ignore-revs index 0fbaab8e..7a708249 100644 --- a/.git-blame-ignore-revs +++ b/.git-blame-ignore-revs @@ -4,3 +4,6 @@ 4e224a6ff898ddf989d9a69b95ea6349f605ec90 # Scala Steward: Reformat with scalafmt 3.8.2 c980f5875ba856d02ca8da6162f54f44793dcd16 + +# Scala Steward: Reformat with scalafmt 3.8.4 +91ba17e0dd3a2f4a64013132ea2aba11622c8eab diff --git a/.scalafmt.conf b/.scalafmt.conf index bf6870c8..7193c3ad 100644 --- a/.scalafmt.conf +++ b/.scalafmt.conf @@ -1,4 +1,4 @@ -version = 3.8.3 +version = 3.8.4 runner.dialect = Scala213Source3 maxColumn = 100 indent.defnSite = 2 diff --git a/src/main/scala/com/advancedtelematic/director/db/deviceregistry/DeviceRepository.scala b/src/main/scala/com/advancedtelematic/director/db/deviceregistry/DeviceRepository.scala index be80cd6d..79197991 100644 --- a/src/main/scala/com/advancedtelematic/director/db/deviceregistry/DeviceRepository.scala +++ b/src/main/scala/com/advancedtelematic/director/db/deviceregistry/DeviceRepository.scala @@ -152,8 +152,8 @@ object DeviceRepository { def findByDeviceUuids(ns: Namespace, deviceIds: Seq[DeviceId]): DBIO[Seq[DeviceDB]] = findByUuids(ns, deviceIds).result - def updateLastSeen(uuid: DeviceId, when: Instant)( - implicit ec: ExecutionContext): DBIO[Boolean] = { + def updateLastSeen(uuid: DeviceId, + when: Instant)(implicit ec: ExecutionContext): DBIO[Boolean] = { val sometime = Some(when) val dbIO = for { diff --git a/src/test/scala/com/advancedtelematic/director/http/AdminResourceSpec.scala b/src/test/scala/com/advancedtelematic/director/http/AdminResourceSpec.scala index 13b03523..b25a2903 100644 --- a/src/test/scala/com/advancedtelematic/director/http/AdminResourceSpec.scala +++ b/src/test/scala/com/advancedtelematic/director/http/AdminResourceSpec.scala @@ -268,9 +268,7 @@ class AdminResourceSpec responseAs[SignedPayload[TargetsRole]].signed.version shouldBe 1 } - Put( - apiUri(s"admin/devices/${dev.deviceId.show}/targets.json") - ).namespaced ~> routes ~> check { + Put(apiUri(s"admin/devices/${dev.deviceId.show}/targets.json")).namespaced ~> routes ~> check { status shouldBe StatusCodes.Accepted }