Skip to content

Commit

Permalink
Check for correct draft mode string
Browse files Browse the repository at this point in the history
Check for "prop:draft_mode_state" not "draft_mode_state"
Closes-Bug: 1771691
Depends-On: I65a23bdfd9c77e1e0533aebe31a1b00b9129d8be

Change-Id: Icc4038c54a23e296d0c03c73551b45d5398d01d8
  • Loading branch information
psdsouza committed Jun 7, 2018
1 parent 6bc9661 commit 4a27b46
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion config-client-mgr/config_cassandra_client.cc
Expand Up @@ -1058,7 +1058,8 @@ bool ConfigCassandraPartition::StoreKeyIfUpdated(const string &uuid,
context.fq_name.end(), ' '), context.fq_name.end());
replace(context.fq_name.begin(), context.fq_name.end(), ',', ':');
}
} else if (adapter->key == "draft_mode_state" && !adapter->value.empty()) {
} else if (adapter->key == "prop:draft_mode_state" &&
!adapter->value.empty()) {
context.ignore_object = true;
}
FieldDetailMap::iterator field_iter =
Expand Down

0 comments on commit 4a27b46

Please sign in to comment.