Selaa lähdekoodia

fix redis port type

The conditional check 'matrix_hookshot_experimental_encryption_enabled and matrix_hookshot_cache_redisUri == ''' failed. The error was: An unhandled exception occurred while templating '{{ ('redis://' + matrix_hookshot_cache_redis_host + ':' + matrix_hookshot_cache_redis_port) if matrix_hookshot_cache_redis_host else '' }}'. Error was a <class 'ansible.errors.AnsibleError'>, original message: Unexpected templating type error occurred on ({{ ('redis://' + matrix_hookshot_cache_redis_host + ':' + matrix_hookshot_cache_redis_port) if matrix_hookshot_cache_redis_host else '' }}): can only concatenate str (not \"int\") to str. can only concatenate str (not \"int\") to str
pull/3297/head
Aine 1 vuosi sitten
committed by GitHub
vanhempi
commit
11b76bd0c2
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. +1
    -1
      roles/custom/matrix-bridge-hookshot/defaults/main.yml

+ 1
- 1
roles/custom/matrix-bridge-hookshot/defaults/main.yml Näytä tiedosto

@@ -44,7 +44,7 @@ matrix_hookshot_appservice_endpoint: "{{ matrix_hookshot_public_endpoint }}/_mat
# Using caching is required when experimental encryption is enabled (`matrix_hookshot_experimental_encryption_enabled`) # Using caching is required when experimental encryption is enabled (`matrix_hookshot_experimental_encryption_enabled`)
# but may also speed up Hookshot startup, etc. # but may also speed up Hookshot startup, etc.
matrix_hookshot_cache_redis_host: '' matrix_hookshot_cache_redis_host: ''
matrix_hookshot_cache_redis_port: 6379
matrix_hookshot_cache_redis_port: "6379"
matrix_hookshot_cache_redisUri: "{{ ('redis://' + matrix_hookshot_cache_redis_host + ':' + matrix_hookshot_cache_redis_port) if matrix_hookshot_cache_redis_host else '' }}" # noqa var-naming matrix_hookshot_cache_redisUri: "{{ ('redis://' + matrix_hookshot_cache_redis_host + ':' + matrix_hookshot_cache_redis_port) if matrix_hookshot_cache_redis_host else '' }}" # noqa var-naming


# Controls whether the experimental end-to-bridge encryption support is enabled. # Controls whether the experimental end-to-bridge encryption support is enabled.


Ladataan…
Peruuta
Tallenna