lib/model: Improve encryption cluster-config errors (#7658)

This commit is contained in:
Simon Frei
2021-05-11 07:55:44 +02:00
committed by GitHub
parent 411796606c
commit 5cb2a10138
2 changed files with 22 additions and 17 deletions
+2 -2
View File
@@ -4068,14 +4068,14 @@ func TestCcCheckEncryption(t *testing.T) {
tokenLocal: nil,
isEncryptedRemote: true,
isEncryptedLocal: false,
expectedErr: errEncryptionNotEncryptedRemote,
expectedErr: errEncryptionPlainForRemoteEncrypted,
},
{
tokenRemote: nil,
tokenLocal: nil,
isEncryptedRemote: false,
isEncryptedLocal: true,
expectedErr: errEncryptionNotEncryptedRemote,
expectedErr: errEncryptionPlainForReceiveEncrypted,
},
{
tokenRemote: nil,