Skip to content

Commit f63dc91

Browse files
authored
client,types: fix doc comment lint (#120)
1 parent c0e2387 commit f63dc91

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

client/setec/client.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,8 +120,8 @@ func (c Client) GetIfChanged(ctx context.Context, name string, oldVersion api.Se
120120
})
121121
}
122122

123-
// Get fetches a secret value by name and version. If version == 0, GetVersion
124-
// retrieves the current active version.
123+
// GetVersion fetches a secret value by name and version. If version == 0,
124+
// GetVersion retrieves the current active version.
125125
//
126126
// Access requirement: "get"
127127
func (c Client) GetVersion(ctx context.Context, name string, version api.SecretVersion) (*api.SecretValue, error) {

types/api/api.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ func (v SecretVersion) String() string {
4242
// translates this to the version marked active.
4343
const SecretVersionDefault SecretVersion = 0
4444

45-
// Secret is a secret value and its associated version.
45+
// SecretValue is a secret value and its associated version.
4646
type SecretValue struct {
4747
Value []byte
4848
Version SecretVersion

0 commit comments

Comments
 (0)