Skip to content

Commit f374c7c

Browse files
committed
Fix coding style
1 parent c7ba8f4 commit f374c7c

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

internal/secret/store.go

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@ import (
1616
"gopkg.in/yaml.v3"
1717
)
1818

19-
20-
2119
const (
2220
// EnvToken is the environment variable for runtime token injection.
2321
// When set, it bypasses the keyring entirely.
@@ -114,7 +112,7 @@ type Store struct {
114112
}
115113

116114
type openOptions struct {
117-
fileDir string
115+
fileDir string
118116
}
119117

120118
// Option customises how the secret store is opened.
@@ -151,8 +149,6 @@ func Open(opts ...Option) (*Store, error) {
151149
return &Store{kr: kr}, nil
152150
}
153151

154-
155-
156152
// Set writes a secret value.
157153
func (s *Store) Set(key, value string) error {
158154
if s == nil || s.kr == nil {

0 commit comments

Comments
 (0)