build, lib/model: Add flag to run tests without -short and fix failure (#7716)
This commit is contained in:
+2
-2
@@ -1472,9 +1472,9 @@ func (m *model) ccCheckEncryption(fcfg config.FolderConfiguration, folderDevice
|
||||
|
||||
if !(hasTokenRemote || hasTokenLocal) {
|
||||
if isEncryptedRemote {
|
||||
return errEncryptionPlainForReceiveEncrypted
|
||||
} else {
|
||||
return errEncryptionPlainForRemoteEncrypted
|
||||
} else {
|
||||
return errEncryptionPlainForReceiveEncrypted
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user