pan3793 commented on PR #5695:
URL: https://github.com/apache/kyuubi/pull/5695#issuecomment-1823849588

   how about this?
   ```patch
   - private def getResourceNamePrefix(appName: String, engineRefId: String): 
String = {
   -   s"$appName-$engineRefId"
   + private def getResourceNamePrefix(appName: String, engineRefId: 
Option[String]): String = {
   +   engineRefId.map(refId => "$appName-$refId").getOrElse(appName)
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to