Skip to content

[Go SDK] Remove boolean returned from relevant Counters and Lists methods #3737

@markmandel

Description

@markmandel

I think the only case of this is in the Go SDK, but writing this in case I missed one.

https://pkg.go.dev/agones.dev/agones/sdks/go#Alpha.IncrementCounter - returns a (bool, error), make the return signature just error - the boolean isn't doing anything.

Also do the same on:

  • DecrementCounter
  • SetCounterCount,
  • SetCounterCapacity,
  • SetListCapacity,
  • AppendListValue,
  • DeleteListValue.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/breakingBreaking changekind/cleanupRefactoring code, fixing up documentation, etc

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions