Skip to content

nil pointer when defining vars (not yet filled) and then calling "devspace use space" #615

@LukasGentele

Description

@LukasGentele

What happened?
Panic reporting a nil pointer

What did you expect to happen instead?
No nil pointer

How can we reproduce the bug? (as minimally and precisely as possible)

  1. Initialize a project
  2. Create a space
  3. Create devspace-configs.yaml and define something in vars
  4. Call devspace use space => nil pointer because devspace use space saves generated.yaml which strips the vars section which should actually be an empty map as per LoadConfig

Local Environment:

  • Operating System: windows

/kind bug

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions