Skip to content

Default value of public_net in create server is invalid. #132

@josiasmontag

Description

@josiasmontag

The in 2.8.0 introduced default value of [] for public_net is invalid. It is rejected by the Hetzner API:

{
  "error" : {
    "message" : "invalid input in field 'public_net'",
    "code" : "invalid_input",
    "details" : {
      "fields" : [ {
        "name" : "public_net._schema",
        "messages" : [ "root must be an object" ]
      } ]
    }
  }
}

The public_net parameter should be completely omitted by default.

Bug introduced by commit: 48c8ccc

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions