Code Monkey home page Code Monkey logo

Comments (4)

n3x77 avatar n3x77 commented on August 16, 2024

So it seems that the problem comes from the go-redis package.

opentelemetry changed the package name and import paths. (https://raw.githubusercontent.com/open-telemetry/opentelemetry-go/34aa6816c1e568dc910344fd5eb10e87b42c901d/CHANGELOG.md)

There are also issues within the go-redis repo redis/go-redis#1544

from strelka.

n3x77 avatar n3x77 commented on August 16, 2024

The problem seems that go-redis now needs go modules for successful installation. After trying to fix that manually there are issues within the build of the docker container
# github.com/target/strelka/src/go/cmd/strelka-frontend ./main.go:86:25: cannot use stream.Context() (type context.Context) as type string in argument to p.RPush ./main.go:87:13: too many arguments in call to p.ExpireAt have (context.Context, string, time.Time) want (string, time.Time) ./main.go:88:22: too many arguments in call to p.Exec have (context.Context) want () ./main.go:111:36: too many arguments in call to s.gatekeeper.cli.cmdable.LRange have (context.Context, string, number, number) want (string, int64, int64) ./main.go:134:50: cannot use stream.Context() (type context.Context) as type string in argument to s.coordinator.cli.cmdable.Del ./main.go:143:20: cannot use stream.Context() (type context.Context) as type string in argument to s.coordinator.cli.cmdable.ZAdd ./main.go:144:3: cannot use "tasks" (type string) as type redis.Z in argument to s.coordinator.cli.cmdable.ZAdd ./main.go:145:3: cannot use &redis.Z literal (type *redis.Z) as type redis.Z in argument to s.coordinator.cli.cmdable.ZAdd ./main.go:154:23: cannot use stream.Context() (type context.Context) as type string in argument to tx.Del ./main.go:157:38: too many arguments in call to s.coordinator.cli.cmdable.LPop have (context.Context, string) want (string) ./main.go:157:38: too many errors

from strelka.

phutelmyer avatar phutelmyer commented on August 16, 2024

@n3x77 - Should be fixed in https://github.com/target/strelka/releases/tag/0.20.11.20 per the above PR. Let me know if it's causing you trouble and I'll reopen.

from strelka.

n3x77 avatar n3x77 commented on August 16, 2024

@phutelmyer thanks for the fast fix! I think you must add the fix with the go mod init also to the source folders of the strelka-fileshot. When trying to build that with go, the same error regarding redis-v8 occurs.

from strelka.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.