Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 17996200D2D for ; Thu, 12 Oct 2017 20:03:39 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 1669D160BE6; Thu, 12 Oct 2017 18:03:39 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 5CAFD160BE5 for ; Thu, 12 Oct 2017 20:03:38 +0200 (CEST) Received: (qmail 38456 invoked by uid 500); 12 Oct 2017 18:03:37 -0000 Mailing-List: contact commits-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list commits@camel.apache.org Received: (qmail 38342 invoked by uid 99); 12 Oct 2017 18:03:37 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Oct 2017 18:03:37 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id E6F18DFB78; Thu, 12 Oct 2017 18:03:36 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: davsclaus@apache.org To: commits@camel.apache.org Date: Thu, 12 Oct 2017 18:03:39 -0000 Message-Id: <85a63fc224224abd94aa2910bbb9c741@git.apache.org> In-Reply-To: References: X-Mailer: ASF-Git Admin Mailer Subject: [4/6] camel git commit: Revert "Fixed example after k8s client upgrade" archived-at: Thu, 12 Oct 2017 18:03:39 -0000 Revert "Fixed example after k8s client upgrade" This reverts commit 50567cfd6c73fb2ddf411d8c683f6d27aaa48cd7. Project: http://git-wip-us.apache.org/repos/asf/camel/repo Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/67146f78 Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/67146f78 Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/67146f78 Branch: refs/heads/master Commit: 67146f7870f7822a44247868e2d93a696c5ec0d7 Parents: 6e4e721 Author: Claus Ibsen Authored: Thu Oct 12 19:50:10 2017 +0200 Committer: Claus Ibsen Committed: Thu Oct 12 19:50:10 2017 +0200 ---------------------------------------------------------------------- .../java/org/apache/camel/example/cdi/kubernetes/Application.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/camel/blob/67146f78/examples/camel-example-cdi-kubernetes/src/main/java/org/apache/camel/example/cdi/kubernetes/Application.java ---------------------------------------------------------------------- diff --git a/examples/camel-example-cdi-kubernetes/src/main/java/org/apache/camel/example/cdi/kubernetes/Application.java b/examples/camel-example-cdi-kubernetes/src/main/java/org/apache/camel/example/cdi/kubernetes/Application.java index a7737ca..b427fee 100644 --- a/examples/camel-example-cdi-kubernetes/src/main/java/org/apache/camel/example/cdi/kubernetes/Application.java +++ b/examples/camel-example-cdi-kubernetes/src/main/java/org/apache/camel/example/cdi/kubernetes/Application.java @@ -68,7 +68,7 @@ public class Application { pod.getStatus().getPhase(), pod.getStatus().getContainerStatuses().stream() .mapToInt(ContainerStatus::getRestartCount).sum(), - formatDuration(Duration.between(ZonedDateTime.parse(pod.getStatus().getStartTime().getTime()), ZonedDateTime.now())))) + formatDuration(Duration.between(ZonedDateTime.parse(pod.getStatus().getStartTime()), ZonedDateTime.now())))) .forEach(System.out::println); }); }