Skip to content
Snippets Groups Projects
Unverified Commit 3dbaa158 authored by bryanl's avatar bryanl
Browse files

remove debugging output


Signed-off-by: default avatarbryanl <bryanliles@gmail.com>
parent 46267f3d
No related branches found
No related tags found
No related merge requests found
......@@ -19,7 +19,6 @@ import (
"context"
"net/http"
"os"
"runtime/debug"
"github.com/google/go-github/github"
"github.com/sirupsen/logrus"
......@@ -52,8 +51,6 @@ func (dg *defaultGitHub) CommitSHA1(ctx context.Context, repo Repo, refSpec stri
refSpec = "master"
}
debug.PrintStack()
logrus.Debugf("github: fetching SHA1 for %s/%s - %s", repo.Org, repo.Repo, refSpec)
sha, _, err := dg.client().Repositories.GetCommitSHA1(ctx, repo.Org, repo.Repo, refSpec, "")
return sha, err
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment