Skip to content

Commit

Permalink
Logging additions
Browse files Browse the repository at this point in the history
  • Loading branch information
karlmutch committed Sep 28, 2021
1 parent b171f2c commit 9fd714f
Show file tree
Hide file tree
Showing 38 changed files with 20,563 additions and 4,063 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<p style="font-size: 2em;margin: .67em 0">studio-go-runner</p>

Version: <repo-version>0.14.3-main-aaaagsbfdfr</repo-version>
Version: <repo-version>0.14.3-main-aaaagseyvek</repo-version>


[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://github.com/leaf-ai/studio-go-runner/blob/master/LICENSE) [![Go Reference](https://pkg.go.dev/badge/github.com/leaf-ai/studio-go-runner.svg)](https://pkg.go.dev/github.com/leaf-ai/studio-go-runner) [![Go Report Card](https://goreportcard.com/badge/leaf-ai/studio-go-runner)](https://goreportcard.com/report/leaf-ai/studio-go-runner) [![CodeQL](https://github.com/leaf-ai/studio-go-runner/actions/workflows/codeql-analysis.yml/badge.svg)](https://github.com/leaf-ai/studio-go-runner/actions/workflows/codeql-analysis.yml) [![Codefresh build status]( https://g.codefresh.io/api/badges/pipeline/leaf-ai/StudioGoRunner%2FDevelopment?type=cf-1&key=eyJhbGciOiJIUzI1NiJ9.NWQzMGUxMDg1MjkzYjYxYzViYmU3NzFj.LjlUhBHRrFkcgTQbIVHKCnGbPct-GqfSVJgxuzgsMk0)]( https://g.codefresh.io/pipelines/edit/new/builds?id=5dcc731a7ede02f3d2deef9e&pipeline=Development&projects=StudioGoRunner&projectId=5dcc72f9faea4bd875a0b89b)
Expand Down
2 changes: 1 addition & 1 deletion cmd/runner/limiter.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ func limitCheck(acts *activity) (limit bool, msg string) {
return true, msg
}

logger.Debug("ready to check idle limit", "stack", stack.Trace().TrimRuntime())
logger.Debug("ready to check idle limit", "running", running, "idle", acts.idle, "max idle time", *maxIdleOpt, "stack", stack.Trace().TrimRuntime())

// If nothing is running and the last time we saw anything running was more than the idle timer
// then we can stop, as long as the user specified a maximum idle time that was not zero
Expand Down
17 changes: 14 additions & 3 deletions cmd/runner/processor.go
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,8 @@ func jsonEscape(unescaped string) (escaped string, errGo error) {
// of the metadata layout
func (p *processor) copyToMetaData(src string, jsonDest string) (err kv.Error) {

logger.Debug("copying", "source", src, "jsonDest", jsonDest, "stack", stack.Trace().TrimRuntime())
logger.Debug("copying start", "source", src, "jsonDest", jsonDest, "stack", stack.Trace().TrimRuntime())
defer logger.Debug("copying done", "source", src, "jsonDest", jsonDest, "stack", stack.Trace().TrimRuntime())

fStat, errGo := os.Stat(src)
if errGo != nil {
Expand Down Expand Up @@ -475,11 +476,12 @@ func (p *processor) copyToMetaData(src string, jsonDest string) (err kv.Error) {

// Checkmarx code checking note. Checkmarx is for Web applications and is not a good fit general purpose server code.
// It is also worth mentioning that if you are reading this message that Checkmarx does not understand Go package structure
// and does not appear to use the Go AST to validate code so is not able to perform path and escape analysis which
// and does not appear to use the Go AST to validate code so is not able to perform path and escape analysis which
// means that more than 95% of warning are for unvisited code.
//
// The following will raise a 'Denial Of Service Resource Exhaustion' message but this is bogus.
// The scanner in go is space limited intentially to prevent resource exhaustion.
logger.Debug("scrape start", "source", src, "jsonDest", jsonDest, "stack", stack.Trace().TrimRuntime())
s := bufio.NewScanner(source)
s.Split(bufio.ScanLines)
for s.Scan() {
Expand Down Expand Up @@ -517,15 +519,20 @@ func (p *processor) copyToMetaData(src string, jsonDest string) (err kv.Error) {
logger.Trace("json filter added", "line", line, "stack", stack.Trace().TrimRuntime())
}
}
logger.Debug("scrape stop", "source", src, "jsonDest", jsonDest, "stack", stack.Trace().TrimRuntime())

if len(jsonDirectives) == 0 {
logger.Debug("no json directives found", "stack", stack.Trace().TrimRuntime())
return nil
}

// Zero copy prepend
jsonDirectives = append(jsonDirectives, " ")
copy(jsonDirectives[1:], jsonDirectives[0:])
jsonDirectives[0] = `{"studioml": {"log": [{"ts": "0", "msg":"Init"},{"ts":"1", "msg":""}]}}`

logger.Debug("JSONEditor start", "source", src, "jsonDest", jsonDest, "stack", stack.Trace().TrimRuntime())
defer logger.Debug("JSONEditor end", "source", src, "jsonDest", jsonDest, "stack", stack.Trace().TrimRuntime())
result, err := runner.JSONEditor("", jsonDirectives)
if err != nil {
return err
Expand Down Expand Up @@ -578,6 +585,10 @@ func (p *processor) returnOne(ctx context.Context, group string, artifact reques
return false, warns, nil
}

logger.Debug("uploading artifact", "project_id", p.Request.Config.Database.ProjectId,
"experiment_id", p.Request.Experiment.Key, "file", filepath.Join(p.ExprDir, group))
defer logger.Debug("upload artifact done", "project_id", p.Request.Config.Database.ProjectId,
"experiment_id", p.Request.Experiment.Key, "file", filepath.Join(p.ExprDir, group))
return artifactCache.Restore(ctx, &artifact, p.Request.Config.Database.ProjectId, group, p.ExprEnvs, p.ExprDir)
}

Expand Down Expand Up @@ -1050,7 +1061,7 @@ func (p *processor) checkpointer(ctx context.Context, saveInterval time.Duration
uploadCtx, uploadCancel := context.WithTimeout(context.Background(), saveTimeout)
defer uploadCancel()

// The context can be canncelled externally in which case
// The context can be cancelled externally in which case
// we should still push any changes that occurred since the last
// checkpoint
p.checkpointArtifacts(uploadCtx, accessionID, refresh)
Expand Down
14 changes: 7 additions & 7 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ require (
github.com/Microsoft/go-winio v0.5.0 // indirect
github.com/Rhymond/go-money v1.0.3
github.com/awnumar/memguard v0.22.2
github.com/aws/aws-sdk-go v1.40.43
github.com/aws/aws-sdk-go v1.40.47
github.com/benbjohnson/clock v1.1.0 // indirect
github.com/cenkalti/backoff/v4 v4.1.1
github.com/containerd/containerd v1.5.2 // indirect
Expand Down Expand Up @@ -58,7 +58,7 @@ require (
github.com/lthibault/jitterbug v2.0.0+incompatible
github.com/makasim/amqpextra v0.16.4
github.com/mholt/archiver/v3 v3.5.0
github.com/michaelklishin/rabbit-hole/v2 v2.10.0
github.com/michaelklishin/rabbit-hole/v2 v2.11.0
github.com/minio/minio-go/v7 v7.0.14
github.com/mitchellh/copystructure v1.2.0
github.com/montanaflynn/stats v0.6.6 // indirect
Expand All @@ -82,16 +82,16 @@ require (
go.opentelemetry.io/otel v0.20.0
go.uber.org/atomic v1.9.0
go.uber.org/goleak v1.1.10 // indirect
golang.org/x/crypto v0.0.0-20210915214749-c084706c2272
golang.org/x/crypto v0.0.0-20210921155107-089bfa567519
golang.org/x/exp v0.0.0-20200331195152-e8c3332aa8e5 // indirect
golang.org/x/net v0.0.0-20210916014120-12bc252f5db8
golang.org/x/net v0.0.0-20210917221730-978cfadd31cf
golang.org/x/oauth2 v0.0.0-20210805134026-6f1e6394065a // indirect
golang.org/x/term v0.0.0-20210615171337-6886f2dfbf5b // indirect
google.golang.org/genproto v0.0.0-20210805201207-89edb61ffb67 // indirect
google.golang.org/protobuf v1.27.1
k8s.io/api v0.22.1
k8s.io/apimachinery v0.22.1
k8s.io/client-go v0.22.1
k8s.io/api v0.22.2
k8s.io/apimachinery v0.22.2
k8s.io/client-go v0.22.2
)

replace (
Expand Down
18 changes: 18 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,8 @@ github.com/aws/aws-sdk-go v1.40.41 h1:v/Y4bB8+wHCONtKV+fuHTzLiqC08lk8e9HqYhRB9PB
github.com/aws/aws-sdk-go v1.40.41/go.mod h1:585smgzpB/KqRA+K3y/NL/oYRqQvpNJYvLm+LY1U59Q=
github.com/aws/aws-sdk-go v1.40.43 h1:froMtO2//9kCu1sK+dOfAcwxUu91p5KgUP4AL7SDwUQ=
github.com/aws/aws-sdk-go v1.40.43/go.mod h1:585smgzpB/KqRA+K3y/NL/oYRqQvpNJYvLm+LY1U59Q=
github.com/aws/aws-sdk-go v1.40.47 h1:ZXayMFfPtODnSZRlMSmMYpiygac6PORNCPMjdGltcFg=
github.com/aws/aws-sdk-go v1.40.47/go.mod h1:585smgzpB/KqRA+K3y/NL/oYRqQvpNJYvLm+LY1U59Q=
github.com/aws/aws-sdk-go-v2 v0.18.0/go.mod h1:JWVYvqSMppoMJC0x5wdwiImzgXTI9FuZwxzkQq9wy+g=
github.com/benbjohnson/clock v1.0.3/go.mod h1:bGMdMPoPVvcYyt1gHDf4J2KE153Yf9BuiUKYMaxlTDM=
github.com/benbjohnson/clock v1.1.0 h1:Q92kusRqC1XV2MjkWETPvjJVqKetz1OzxZB7mHJLju8=
Expand Down Expand Up @@ -791,6 +793,8 @@ github.com/mholt/archiver/v3 v3.5.0 h1:nE8gZIrw66cu4osS/U7UW7YDuGMHssxKutU8IfWxw
github.com/mholt/archiver/v3 v3.5.0/go.mod h1:qqTTPUK/HZPFgFQ/TJ3BzvTpF/dPtFVJXdQbCmeMxwc=
github.com/michaelklishin/rabbit-hole/v2 v2.10.0 h1:ZKNrxC6LM3fwOIiLZl2vG1s6/MYUdKt1zh7CHD7GcDE=
github.com/michaelklishin/rabbit-hole/v2 v2.10.0/go.mod h1:NvU8401DjBzt659c6gVIuFJspIcqtRe/pOq0m8gYErc=
github.com/michaelklishin/rabbit-hole/v2 v2.11.0 h1:v/Jtrr0FY82pITY3VFhIDaXCllPCTGpGCIM2U505Row=
github.com/michaelklishin/rabbit-hole/v2 v2.11.0/go.mod h1:tVpCFikY4BB40a436H81PRVybvtNwFwWI3oCflUTec8=
github.com/miekg/dns v1.0.14/go.mod h1:W1PPwlIAgtquWBMBEV9nkV9Cazfe8ScdGz/Lj7v3Nrg=
github.com/miekg/pkcs11 v1.0.3/go.mod h1:XsNlhZGX73bx86s2hdc/FuaLm2CPZJemRLMA+WTFxgs=
github.com/minio/md5-simd v1.1.0/go.mod h1:XpBqgZULrMYD3R+M28PcmP0CkI7PEMzB3U77ZrKZ0Gw=
Expand Down Expand Up @@ -887,6 +891,8 @@ github.com/onsi/gomega v1.10.1/go.mod h1:iN09h71vgCQne3DLsj+A5owkum+a2tYe+TOCB1y
github.com/onsi/gomega v1.10.3/go.mod h1:V9xEwhxec5O8UDM77eCW8vLymOMltsqPVYWrpDsH8xc=
github.com/onsi/gomega v1.13.0 h1:7lLHu94wT9Ij0o6EWWclhu0aOh32VxhkwEJvzuWPeak=
github.com/onsi/gomega v1.13.0/go.mod h1:lRk9szgn8TxENtWd0Tp4c3wjlRfMTMH27I+3Je41yGY=
github.com/onsi/gomega v1.16.0 h1:6gjqkI8iiRHMvdccRJM8rVKjCWk6ZIm6FTm3ddIe4/c=
github.com/onsi/gomega v1.16.0/go.mod h1:HnhC7FXeEQY45zxNK3PPoIUhzk/80Xly9PcubAlGdZY=
github.com/op/go-logging v0.0.0-20160315200505-970db520ece7/go.mod h1:HzydrMdWErDVzsI23lYNej1Htcns9BCg93Dk0bBINWk=
github.com/opencontainers/go-digest v0.0.0-20170106003457-a6d0ee40d420/go.mod h1:cMLVZDEM3+U2I4VmLI6N8jQYUd2OVphdqWwCJHrFt2s=
github.com/opencontainers/go-digest v0.0.0-20180430190053-c9281466c8b2/go.mod h1:cMLVZDEM3+U2I4VmLI6N8jQYUd2OVphdqWwCJHrFt2s=
Expand Down Expand Up @@ -1215,6 +1221,8 @@ golang.org/x/crypto v0.0.0-20210817164053-32db794688a5 h1:HWj/xjIHfjYU5nVXpTM0s3
golang.org/x/crypto v0.0.0-20210817164053-32db794688a5/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc=
golang.org/x/crypto v0.0.0-20210915214749-c084706c2272 h1:3erb+vDS8lU1sxfDHF4/hhWyaXnhIaO+7RgL4fDZORA=
golang.org/x/crypto v0.0.0-20210915214749-c084706c2272/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc=
golang.org/x/crypto v0.0.0-20210921155107-089bfa567519 h1:7I4JAnoQBe7ZtJcBaYHi5UtiO8tQHbUSXxL+pnGRANg=
golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc=
golang.org/x/exp v0.0.0-20180321215751-8460e604b9de/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA=
golang.org/x/exp v0.0.0-20180807140117-3d87b88a115f/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA=
golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA=
Expand Down Expand Up @@ -1324,6 +1332,8 @@ golang.org/x/net v0.0.0-20210913180222-943fd674d43e h1:+b/22bPvDYt4NPDcy4xAGCmON
golang.org/x/net v0.0.0-20210913180222-943fd674d43e/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y=
golang.org/x/net v0.0.0-20210916014120-12bc252f5db8 h1:/6y1LfuqNuQdHAm0jjtPtgRcxIxjVZgm5OTu8/QhZvk=
golang.org/x/net v0.0.0-20210916014120-12bc252f5db8/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y=
golang.org/x/net v0.0.0-20210917221730-978cfadd31cf h1:R150MpwJIv1MpS0N/pc+NhTM8ajzvlmxlY5OYsrevXQ=
golang.org/x/net v0.0.0-20210917221730-978cfadd31cf/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y=
golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U=
golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=
golang.org/x/oauth2 v0.0.0-20190319182350-c85d3e98c914/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=
Expand Down Expand Up @@ -1757,12 +1767,16 @@ k8s.io/api v0.20.4/go.mod h1:++lNL1AJMkDymriNniQsWRkMDzRaX2Y/POTUi8yvqYQ=
k8s.io/api v0.20.6/go.mod h1:X9e8Qag6JV/bL5G6bU8sdVRltWKmdHsFUGS3eVndqE8=
k8s.io/api v0.22.1 h1:ISu3tD/jRhYfSW8jI/Q1e+lRxkR7w9UwQEZ7FgslrwY=
k8s.io/api v0.22.1/go.mod h1:bh13rkTp3F1XEaLGykbyRD2QaTTzPm0e/BMd8ptFONY=
k8s.io/api v0.22.2 h1:M8ZzAD0V6725Fjg53fKeTJxGsJvRbk4TEm/fexHMtfw=
k8s.io/api v0.22.2/go.mod h1:y3ydYpLJAaDI+BbSe2xmGcqxiWHmWjkEeIbiwHvnPR8=
k8s.io/apimachinery v0.0.0-20190221213512-86fb29eff628/go.mod h1:ccL7Eh7zubPUSh9A3USN90/OzHNSVN6zxzde07TDCL0=
k8s.io/apimachinery v0.20.1/go.mod h1:WlLqWAHZGg07AeltaI0MV5uk1Omp8xaN0JGLY6gkRpU=
k8s.io/apimachinery v0.20.4/go.mod h1:WlLqWAHZGg07AeltaI0MV5uk1Omp8xaN0JGLY6gkRpU=
k8s.io/apimachinery v0.20.6/go.mod h1:ejZXtW1Ra6V1O5H8xPBGz+T3+4gfkTCeExAHKU57MAc=
k8s.io/apimachinery v0.22.1 h1:DTARnyzmdHMz7bFWFDDm22AM4pLWTQECMpRTFu2d2OM=
k8s.io/apimachinery v0.22.1/go.mod h1:O3oNtNadZdeOMxHFVxOreoznohCpy0z6mocxbZr7oJ0=
k8s.io/apimachinery v0.22.2 h1:ejz6y/zNma8clPVfNDLnPbleBo6MpoFy/HBiBqCouVk=
k8s.io/apimachinery v0.22.2/go.mod h1:O3oNtNadZdeOMxHFVxOreoznohCpy0z6mocxbZr7oJ0=
k8s.io/apiserver v0.20.1/go.mod h1:ro5QHeQkgMS7ZGpvf4tSMx6bBOgPfE+f52KwvXfScaU=
k8s.io/apiserver v0.20.4/go.mod h1:Mc80thBKOyy7tbvFtB4kJv1kbdD0eIH8k8vianJcbFM=
k8s.io/apiserver v0.20.6/go.mod h1:QIJXNt6i6JB+0YQRNcS0hdRHJlMhflFmsBDeSgT1r8Q=
Expand All @@ -1772,6 +1786,8 @@ k8s.io/client-go v0.20.4/go.mod h1:LiMv25ND1gLUdBeYxBIwKpkSC5IsozMMmOOeSJboP+k=
k8s.io/client-go v0.20.6/go.mod h1:nNQMnOvEUEsOzRRFIIkdmYOjAZrC8bgq0ExboWSU1I0=
k8s.io/client-go v0.22.1 h1:jW0ZSHi8wW260FvcXHkIa0NLxFBQszTlhiAVsU5mopw=
k8s.io/client-go v0.22.1/go.mod h1:BquC5A4UOo4qVDUtoc04/+Nxp1MeHcVc1HJm1KmG8kk=
k8s.io/client-go v0.22.2 h1:DaSQgs02aCC1QcwUdkKZWOeaVsQjYvWv8ZazcZ6JcHc=
k8s.io/client-go v0.22.2/go.mod h1:sAlhrkVDf50ZHx6z4K0S40wISNTarf1r800F+RlCF6U=
k8s.io/component-base v0.20.1/go.mod h1:guxkoJnNoh8LNrbtiQOlyp2Y2XFCZQmrcg2n/DeYNLk=
k8s.io/component-base v0.20.4/go.mod h1:t4p9EdiagbVCJKrQ1RsA5/V4rFQNDfRlevJajlGwgjI=
k8s.io/component-base v0.20.6/go.mod h1:6f1MPBAeI+mvuts3sIdtpjljHWBQ2cIy38oBIWMYnrM=
Expand All @@ -1796,6 +1812,8 @@ k8s.io/kubernetes v1.14.1/go.mod h1:ocZa8+6APFNC2tX1DZASIbocyYT5jHzqFVsY5aoB7Jk=
k8s.io/utils v0.0.0-20201110183641-67b214c5f920/go.mod h1:jPW/WVKK9YHAvNhRxK0md/EJ228hCsBRufyofKtW8HA=
k8s.io/utils v0.0.0-20210707171843-4b05e18ac7d9 h1:imL9YgXQ9p7xmPzHFm/vVd/cF78jad+n4wK1ABwYtMM=
k8s.io/utils v0.0.0-20210707171843-4b05e18ac7d9/go.mod h1:jPW/WVKK9YHAvNhRxK0md/EJ228hCsBRufyofKtW8HA=
k8s.io/utils v0.0.0-20210819203725-bdf08cb9a70a h1:8dYfu/Fc9Gz2rNJKB9IQRGgQOh2clmRzNIPPY1xLY5g=
k8s.io/utils v0.0.0-20210819203725-bdf08cb9a70a/go.mod h1:jPW/WVKK9YHAvNhRxK0md/EJ228hCsBRufyofKtW8HA=
rsc.io/binaryregexp v0.2.0/go.mod h1:qTv7/COck+e2FymRvadv62gMdZztPaShugOCi3I+8D8=
rsc.io/pdf v0.1.1/go.mod h1:n8OzWcQ6Sp37PL01nO98y4iUCRdTGarVfzxY20ICaU4=
rsc.io/quote/v3 v3.1.0/go.mod h1:yEA65RcK8LyAZtP9Kv3t0HmxON59tX3rD+tICJqUlj0=
Expand Down
5 changes: 5 additions & 0 deletions internal/runner/experiment_json.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,11 @@ func ExtractMergeDoc(x1, x2 interface{}) (results string, err kv.Error) {
//
func JSONEditor(oldDoc string, directives []string) (result string, err kv.Error) {

defer func() {
if r := recover(); r != nil {
fmt.Println(r)
}
}()
doc := []byte(oldDoc)

if len(doc) == 0 {
Expand Down
14 changes: 12 additions & 2 deletions internal/s3/s3.go
Original file line number Diff line number Diff line change
Expand Up @@ -665,12 +665,22 @@ func (s *s3Storage) s3Put(key string, pr *io.PipeReader, errorC chan kv.Error) {

defer func() {
if r := recover(); r != nil {
errorC <- errS.NewError(fmt.Sprint(r)).With("stack", stack.Trace().TrimRuntime())
err := errS.NewError(fmt.Sprint(r)).With("stack", stack.Trace().TrimRuntime())
select {
case errorC <- err:
case <-time.After(5 * time.Second):
fmt.Println(err.Error())
}
}
close(errorC)
}()
if _, errGo := s.client.PutObject(context.Background(), s.bucket, key, pr, -1, minio.PutObjectOptions{}); errGo != nil {
errorC <- errS.Wrap(minio.ToErrorResponse(errGo)).With("stack", stack.Trace().TrimRuntime())
err := errS.Wrap(minio.ToErrorResponse(errGo)).With("stack", stack.Trace().TrimRuntime())
select {
case errorC <- err:
case <-time.After(5 * time.Second):
fmt.Println(err.Error())
}
return
}
}
Expand Down
20 changes: 8 additions & 12 deletions licenses.manifest
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ docs/slides,MIT-0,0.8050314
docs/slides/lib/font/source-sans-pro,OFL-1.0-RFN,0.757377
examples/aws/aws,OpenSSL,0.7797131
examples/aws/aws/dist/cryptography-2.8-py3.7.egg-info,BSD-3-Clause-Clear,0.83412325
examples/aws/cpu,deprecated_GPL-2.0-with-bison-exception,0.33333334
examples/docker,FSFAP,0.33333334
examples/local,deprecated_GPL-2.0-with-autoconf-exception,0.33333334
examples/aws/cpu,deprecated_GPL-2.0-with-autoconf-exception,0.33333334
examples/docker,deprecated_GPL-2.0-with-autoconf-exception,0.33333334
examples/local,FSFAP,0.33333334
vendor/cloud.google.com/go,SHL-0.5,0.85278857
vendor/github.com/Azure/go-autorest,ECL-2.0,0.83882034
vendor/github.com/Azure/go-autorest/autorest,ECL-2.0,0.83882034
Expand Down Expand Up @@ -119,11 +119,11 @@ vendor/github.com/pkg/errors,BSD-2-Clause-NetBSD,0.9076087
vendor/github.com/prometheus/client_golang,SHL-0.5,0.85278857
vendor/github.com/prometheus/client_model,SHL-0.5,0.85278857
vendor/github.com/prometheus/common,SHL-0.5,0.85278857
vendor/github.com/prometheus/common/internal/bitbucket.org/ww/goautoneg,EUDatagrid,0.33333334
vendor/github.com/prometheus/common/internal/bitbucket.org/ww/goautoneg,TMate,0.33333334
vendor/github.com/prometheus/procfs,SHL-0.5,0.85278857
vendor/github.com/prometheus/prom2json,SHL-0.5,0.85278857
vendor/github.com/rs/xid,MIT-0,0.8125
vendor/github.com/russross/blackfriday/v2,BSD-3-Clause-Clear,0.33333334
vendor/github.com/russross/blackfriday/v2,BSD-3-Clause-LBNL,0.33333334
vendor/github.com/sergi/go-diff,MIT-0,0.8125
vendor/github.com/shirou/gopsutil,BSD-3-Clause-Clear,0.8387097
vendor/github.com/shogo82148/go-shuffle,MIT-0,0.81595093
Expand Down Expand Up @@ -171,17 +171,13 @@ vendor/gopkg.in/yaml.v2,MIT-0,0.8125
vendor/gopkg.in/yaml.v3,MIT-0,0.8050314
vendor/k8s.io/api,SHL-0.5,0.85278857
vendor/k8s.io/apimachinery,SHL-0.5,0.85278857
vendor/k8s.io/apimachinery/third_party/forked/golang,BSD-3-Clause,0.9306931
vendor/k8s.io/client-go,SHL-0.5,0.85278857
vendor/k8s.io/client-go/third_party/forked/golang,BSD-3-Clause,0.9306931
vendor/k8s.io/klog/v2,SHL-0.5,0.8657289
vendor/k8s.io/utils,SHL-0.5,0.85278857
vendor/sigs.k8s.io/structured-merge-diff/v4,SHL-0.5,0.85214007
14007
7
5,0.85214007
214007
es.v1,MIT-0,0.81595093
vendor/gopkg.in/src-d/go-billy.v4,SHL-0.5,0.85214007
vendor/gopkg.in/src-d/go-git.v4,SHL-0.5,0.85214007
85214007
vendor/gopkg.in/warnings.v0,BSD-2-Clause,0.9367816
vendor/gopkg.in/yaml.v2,MIT-0,0.8125
vendor/gopkg.in/yaml.v3,MIT-0,0.8050314
Expand Down
10 changes: 7 additions & 3 deletions vendor/github.com/aws/aws-sdk-go/aws/client/logger.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 9fd714f

Please sign in to comment.