Skip to content

undefined: io.Discard and io.ReadAll in latest code push #267

@DrewCurd

Description

@DrewCurd

Describe the bug
Currently, the Go Client is broken due to io.Discard and io.ReadAll being undefined in latest version of the code.

Expected behavior
Should be able to run the Go Client without getting undefined errors unrelated to my code.

Logs

# go.mongodb.org/atlas/mongodbatlas
/root/go/src/go.mongodb.org/atlas/mongodbatlas/mongodbatlas.go:450:20: undefined: io.Discard
/root/go/src/go.mongodb.org/atlas/mongodbatlas/mongodbatlas.go:521:15: undefined: io.ReadAll
Error: Process completed with exit code 2.

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