redis: make masterAuth option optional (#109417)

This commit is contained in:
Milan 2021-01-15 03:21:27 +01:00 committed by GitHub
parent bfb91bc57f
commit 4171cd53d6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -144,7 +144,7 @@ in
}; };
masterAuth = mkOption { masterAuth = mkOption {
type = types.str; type = with types; nullOr str;
default = null; default = null;
description = ''If the master is password protected (using the requirePass configuration) description = ''If the master is password protected (using the requirePass configuration)
it is possible to tell the slave to authenticate before starting the replication synchronization it is possible to tell the slave to authenticate before starting the replication synchronization