Skip to content
Snippets Groups Projects
Commit 186c03b3 authored by Andrea Spadaccini's avatar Andrea Spadaccini
Browse files

Fix cluster start failure due to missing netmask


If the cluster version is upgraded from a version before commit
5a8648eb to a version after that commit,
the master startup will fail because the ssconf file with the master
netmask will not be present, and it is read during the master voting
process.

This patch fixes this bug, making ssconf.GetMasterNetmask return a
default netmask value, and also corrects the docstring of this method.

Signed-off-by: default avatarAndrea Spadaccini <spadaccio@google.com>
Reviewed-by: default avatarRené Nussbaumer <rn@google.com>
parent d24303b3
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment