Code Monkey home page Code Monkey logo

Comments (5)

hairyhenderson avatar hairyhenderson commented on August 17, 2024

Filed hack-pad/hackpadfs#43 about this. I think I have a path forward!

from gomplate.

hairyhenderson avatar hairyhenderson commented on August 17, 2024

While hackpadfs is working now, there's another alignment issue somewhere:

    datasources_vault_ec2_test.go:106: 
                Error Trace:    /home/hairyhenderson/go/src/github.com/hairyhenderson/gomplate/internal/tests/integration/integration_test.go:63
                                                        /home/hairyhenderson/go/src/github.com/hairyhenderson/gomplate/internal/tests/integration/datasources_vault_ec2_test.go:106
                Error:          Received unexpected error:
                                renderTemplate: failed to render template <arg>: template: <arg>:1:3: executing "<arg>" at <ds "vault" "foo">: error calling ds: unaligned 64-bit atomic operation
                Test:           TestDatasources_VaultEc2

from gomplate.

hairyhenderson avatar hairyhenderson commented on August 17, 2024

The go-fsimpl bug is fixed in hairyhenderson/go-fsimpl#720. Release v0.1.4 has that fix and I'll update to that soon.

from gomplate.

hairyhenderson avatar hairyhenderson commented on August 17, 2024

One last test failure:

--- FAIL: TestStrings_Repeat (0.00s)
    strings_test.go:30: assertion failed: expected error to contain "too long: causes overflow", got "renderTemplate: failed to render template <arg>: template: <arg>:1:12: executing \"<arg>\" at <strings.Repeat>: error calling Repeat: negative count -1"
FAIL

I'm pretty sure this is a problem with the test.

from gomplate.

hairyhenderson avatar hairyhenderson commented on August 17, 2024

Fixed in #2127, #2128, #2129, and I've added protections in #2126

from gomplate.

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.