Skip to content

Commit

Permalink
client,types: fix doc comment lint (#120)
Browse files Browse the repository at this point in the history
  • Loading branch information
creachadair authored Sep 9, 2024
1 parent c0e2387 commit f63dc91
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions client/setec/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,8 @@ func (c Client) GetIfChanged(ctx context.Context, name string, oldVersion api.Se
})
}

// Get fetches a secret value by name and version. If version == 0, GetVersion
// retrieves the current active version.
// GetVersion fetches a secret value by name and version. If version == 0,
// GetVersion retrieves the current active version.
//
// Access requirement: "get"
func (c Client) GetVersion(ctx context.Context, name string, version api.SecretVersion) (*api.SecretValue, error) {
Expand Down
2 changes: 1 addition & 1 deletion types/api/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ func (v SecretVersion) String() string {
// translates this to the version marked active.
const SecretVersionDefault SecretVersion = 0

// Secret is a secret value and its associated version.
// SecretValue is a secret value and its associated version.
type SecretValue struct {
Value []byte
Version SecretVersion
Expand Down

0 comments on commit f63dc91

Please sign in to comment.