File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed
spark-operator/src/main/java/org/apache/spark/k8s/operator/metrics/healthcheck Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change 3434import lombok .Getter ;
3535import lombok .RequiredArgsConstructor ;
3636import lombok .extern .slf4j .Slf4j ;
37- import org .apache .commons .lang3 .builder .ToStringBuilder ;
3837
3938import org .apache .spark .k8s .operator .BaseResource ;
4039import org .apache .spark .k8s .operator .Constants ;
@@ -240,11 +239,13 @@ boolean reconciledSinceUpdate() {
240239 */
241240 @ Override
242241 public String toString () {
243- return new ToStringBuilder (this )
244- .append ("resource" , resource )
245- .append ("previousGeneration" , previousGeneration )
246- .append ("isHealthy" , isHealthy )
247- .toString ();
242+ return "SentinelResourceState[resource="
243+ + resource
244+ + ",previousGeneration="
245+ + previousGeneration
246+ + ",isHealthy="
247+ + isHealthy
248+ + "]" ;
248249 }
249250 }
250251
You can’t perform that action at this time.
0 commit comments