gossip: Print SCHEMA_TABLES_VERSION correctly

Found this when debugging gossip with debug print. The application state
SCHEMA_TABLES_VERSION was printed as UNKNOWN.
Message-Id: <d7616920d2e6516b5470a758bcf9c88f3d857381.1506391495.git.asias@scylladb.com>

(cherry picked from commit 98e9049820)
This commit is contained in:
Asias He
2017-09-26 10:05:27 +08:00
committed by Tomasz Grabiec
parent 6e2858a47d
commit df04418fa4

View File

@@ -62,6 +62,7 @@ static const std::map<application_state, sstring> application_state_names = {
{application_state::TOKENS, "TOKENS"},
{application_state::SUPPORTED_FEATURES, "SUPPORTED_FEATURES"},
{application_state::CACHE_HITRATES, "CACHE_HITRATES"},
{application_state::SCHEMA_TABLES_VERSION, "SCHEMA_TABLES_VERSION"},
};
std::ostream& operator<<(std::ostream& os, const application_state& m) {