Skip to content

Networking v2: Issue with Time Fields #1670

@jtopjian

Description

@jtopjian

The Networking resources which include CreatedAt and UpdatedAt fields cause time parsing errors with older releases of OpenStack. This is because the fields are currently set to time.Time (RFC 3339) but older OpenStack releases send the date back as an RFC 3339 "no Z" format.

The structs which include these fields need to be updated with a custom UnmarshalJSON method to handle both time formats.

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