Skip to content

Question: Code generation results differ/Upgrade go imports #404

@b509

Description

@b509

What happened?

Upjet generates different results for me than for another maintainer or the official pipeline
https://github.com/crossplane-contrib/provider-keycloak/blob/main/.github/workflows/ci.yml

Differences seem to be in quotes (mine: one double quote, pipeline: two single quotes), linebreaks and empty lines. You can see some examples here
denniskniep/provider-keycloak@ca7b2f2
denniskniep/provider-keycloak@16990cb

How can we reproduce it?

My assumption is that I had installed the newest go version (1.22) but the pipeline is using v1.21 and I had probably installed the imports using v1.22. Can anyone support in why this is happening?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions