You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by lb...@apache.org on 2018/09/10 10:06:32 UTC

[camel-k] 02/04: Remove unused code

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

lburgazzoli pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-k.git

commit f19195f52e5897c925d39f32ff122a2913d1a080
Author: nferraro <ni...@gmail.com>
AuthorDate: Sat Sep 8 02:16:14 2018 +0200

    Remove unused code
---
 pkg/client/cmd/get/get.go | 10 ----------
 1 file changed, 10 deletions(-)

diff --git a/pkg/client/cmd/get/get.go b/pkg/client/cmd/get/get.go
index 925883b..6702145 100644
--- a/pkg/client/cmd/get/get.go
+++ b/pkg/client/cmd/get/get.go
@@ -19,7 +19,6 @@ package get
 
 import (
 	"github.com/spf13/cobra"
-	"io/ioutil"
 	"text/tabwriter"
 	"os"
 	"fmt"
@@ -63,12 +62,3 @@ func run(cmd *cobra.Command, args []string) error {
 
 	return nil
 }
-
-func loadCode(fileName string) (string, error) {
-	content, err := ioutil.ReadFile(fileName)
-	if err != nil {
-		return "", err
-	}
-	// TODO check encoding issues
-	return string(content), err
-}