diff --git a/internal/secret/secret_test.go b/internal/secret/secret_test.go index b874d0c..267dea7 100644 --- a/internal/secret/secret_test.go +++ b/internal/secret/secret_test.go @@ -25,7 +25,7 @@ func (m *MockVault) GetDirectory() (string, error) { return m.directory, nil } -func (m *MockVault) AddSecret(name string, value []byte, force bool) error { +func (m *MockVault) AddSecret(name string, value []byte, _ bool) error { // Create secret directory with proper storage name conversion storageName := strings.ReplaceAll(name, "/", "%") secretDir := filepath.Join(m.directory, "secrets.d", storageName) @@ -120,7 +120,7 @@ func (m *MockVault) GetCurrentUnlocker() (Unlocker, error) { return nil, nil } -func (m *MockVault) CreatePassphraseUnlocker(passphrase string) (*PassphraseUnlocker, error) { +func (m *MockVault) CreatePassphraseUnlocker(_ string) (*PassphraseUnlocker, error) { return nil, nil }