From 3205d3aecb4cc1125d69125a70a062dec391dcc4 Mon Sep 17 00:00:00 2001 From: JenTing Hsiao Date: Fri, 26 Aug 2022 06:29:32 +0000 Subject: [PATCH] DEBUG Signed-off-by: JenTing Hsiao --- components/content-service/pkg/initializer/git.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/content-service/pkg/initializer/git.go b/components/content-service/pkg/initializer/git.go index b90bbbea22d204..5a5316031fb565 100644 --- a/components/content-service/pkg/initializer/git.go +++ b/components/content-service/pkg/initializer/git.go @@ -134,11 +134,11 @@ func (ws *GitInitializer) Run(ctx context.Context, mappings []archive.IDMapping) cmd = exec.Command("ls", "-al", ws.Location) res, _ = cmd.CombinedOutput() - log.Infof("ls -al %s: %v", ws.Location, res) + log.Infof("ls -al %s: %v", ws.Location, string(res)) cmd = exec.Command("ls", "-al", ws.Location+".git/") res, _ = cmd.CombinedOutput() - log.Infof("ls -al %s: %v", ws.Location+".git/", res) + log.Infof("ls -al %s: %v", ws.Location+".git/", string(res)) } if err := ws.realizeCloneTarget(ctx); err != nil { return src, xerrors.Errorf("git initializer clone: %w", err)