You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by fa...@apache.org on 2024/07/30 03:17:47 UTC

(flink) 02/03: [Hotfix][runtime] Enrich the toString method of SlotSharingGroup class

This is an automated email from the ASF dual-hosted git repository.

fanrui pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/flink.git

commit ba3f87ef68390ccb0e986cf45304101ae93a3cf0
Author: Roc Marshal <fl...@126.com>
AuthorDate: Fri Jul 26 10:21:14 2024 +0800

    [Hotfix][runtime] Enrich the toString method of SlotSharingGroup class
---
 .../org/apache/flink/runtime/jobmanager/scheduler/SlotSharingGroup.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/flink-runtime/src/main/java/org/apache/flink/runtime/jobmanager/scheduler/SlotSharingGroup.java b/flink-runtime/src/main/java/org/apache/flink/runtime/jobmanager/scheduler/SlotSharingGroup.java
index 5a29f922ee3..c82af11235e 100644
--- a/flink-runtime/src/main/java/org/apache/flink/runtime/jobmanager/scheduler/SlotSharingGroup.java
+++ b/flink-runtime/src/main/java/org/apache/flink/runtime/jobmanager/scheduler/SlotSharingGroup.java
@@ -76,6 +76,6 @@ public class SlotSharingGroup implements java.io.Serializable {
 
     @Override
     public String toString() {
-        return "SlotSharingGroup " + this.ids.toString();
+        return "SlotSharingGroup{" + "ids=" + ids + ", resourceProfile=" + resourceProfile + '}';
     }
 }