You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by nf...@apache.org on 2020/10/21 21:27:40 UTC

[camel-k] 05/13: Update to new master.

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

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

commit 00f7a285aac3063b8f323ad89eac539cc81713cb
Author: Doru Bercea <gh...@ibm.com>
AuthorDate: Tue Oct 20 13:41:58 2020 -0400

    Update to new master.
---
 deploy/resources.go | 2 +-
 pkg/cmd/inspect.go  | 7 ++-----
 2 files changed, 3 insertions(+), 6 deletions(-)

diff --git a/deploy/resources.go b/deploy/resources.go
index e136bde..cf92514 100644
--- a/deploy/resources.go
+++ b/deploy/resources.go
@@ -163,7 +163,7 @@ var assets = func() http.FileSystem {
 			modTime:          time.Time{},
 			uncompressedSize: 2148,
 
-			compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xbc\x54\x41\x6f\xe3\x36\x13\xbd\xeb\x57\x3c\x58\x97\x5d\x20\xb6\x37\x7b\xd4\x77\xd2\x97\x38\x88\xd1\x54\x32\x2c\x6f\x83\x3d\x15\x13\x6a\x24\x11\xa1\x48\x95\xa4\xa2\xd5\xbf\x2f\x28\xdb\x89\x9d\xcd\xa6\x3d\x04\xe5\xc9\xe6\xcc\xbc\x79\x6f\xde\x88\x31\xe6\x1f\x77\xa2\x18\x77\x52\xb0\x76\x5c\xc2\x1b\xf8\x86\x91\x76\x24\x1a\x46\x61\x2a\x3f\x90\x65\xdc\x98\x5e\x97\xe4\xa5\xd1\xf8\x94\x16\x37\x9f\xd1\xeb\x92\x2d\x8c\x66\x18\x [...]
+			compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xbc\x54\x41\x6f\xe3\x36\x13\xbd\xeb\x57\x3c\x58\x97\x5d\x20\xb6\x37\xdf\x77\x53\x4f\x6a\xe2\x20\x46\x53\xc9\xb0\xbc\x0d\xf6\x54\x4c\xa8\x91\x44\x84\x22\x55\x92\x8a\x56\xff\xbe\xa0\x6c\x27\x76\x36\x9b\xf6\x10\x94\x27\x9b\x33\xf3\xe6\xbd\x79\x23\xc6\x98\x7f\xdc\x89\x62\xdc\x49\xc1\xda\x71\x09\x6f\xe0\x1b\x46\xda\x91\x68\x18\x85\xa9\xfc\x40\x96\x71\x63\x7a\x5d\x92\x97\x46\xe3\x53\x5a\xdc\x7c\x46\xaf\x4b\xb6\x30\x9a\x61\x [...]
 		},
 		"/operator-role-binding-events.yaml": &vfsgen۰CompressedFileInfo{
 			name:             "operator-role-binding-events.yaml",
diff --git a/pkg/cmd/inspect.go b/pkg/cmd/inspect.go
index 37d5b70..fc89432 100644
--- a/pkg/cmd/inspect.go
+++ b/pkg/cmd/inspect.go
@@ -127,15 +127,12 @@ func (command *inspectCmdOptions) run(args []string) error {
 		}
 	}
 
-	// TODO: compression not supported for this command for now.
-	compression := false
-
 	// List of top-level dependencies.
 	dependencies := strset.New()
 
 	// Invoke the dependency inspector code for each source file.
 	for _, source := range args {
-		data, _, err := loadData(source, compression, compression)
+		data, _, err := loadContent(source, false, false)
 		if err != nil {
 			return err
 		}
@@ -144,7 +141,7 @@ func (command *inspectCmdOptions) run(args []string) error {
 			DataSpec: v1.DataSpec{
 				Name:        path.Base(source),
 				Content:     data,
-				Compression: compression,
+				Compression: false,
 			},
 		}