-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor(TriplestoreServiceLive): minor improvements #2721
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, two minor, cosmetic suggestions, if you like them
webapi/src/main/scala/org/knora/webapi/store/triplestore/impl/TriplestoreServiceLive.scala
Outdated
Show resolved
Hide resolved
} yield DropDataGraphByGraphACK() | ||
|
||
private def dropGraph(graphName: String): Task[Unit] = | ||
ZIO.logInfo(s"Dropping graph: $graphName") *> | ||
ZIO.logInfo(s"==>> Dropping graph: $graphName") *> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ZIO.logInfo(s"==>> Dropping graph: $graphName") *> | |
ZIO.logInfo(s" ==>> Dropping graph: $graphName") *> |
this will look nice with indention ^^
webapi/src/main/scala/org/knora/webapi/store/triplestore/impl/TriplestoreServiceLive.scala
Outdated
Show resolved
Hide resolved
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## main #2721 +/- ##
==========================================
+ Coverage 9.55% 80.20% +70.65%
==========================================
Files 279 279
Lines 28936 28893 -43
==========================================
+ Hits 2766 23175 +20409
+ Misses 26170 5718 -20452
☔ View full report in Codecov by Sentry. |
Pull Request Checklist
Task Description/Number
Minor logging improvements and extracting duplicated code to private method.
Issue Number: NO-TICKET
Basic Requirements
Please check if your PR fulfills the following requirements:
PR Type
What kind of change does this PR introduce?
Does this PR introduce a breaking change?
Does this PR change client-test-data?