Skip to content

AddUser() method name #156

Description

@Lxrdknows77

In fact behaviour of this method depends if user already exists or not, and in 1st case it will just update his secret key (and status). Thus, for more transparency would be better maybe to change it to e.g CreateOrUpdateUser? Or at least add additional comment up of the method definition.

func (adm *AdminClient) AddUser(ctx context.Context, accessKey, secretKey string) error {

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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