mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-26 23:24:09 +02:00
Merge pull request #9409 from Icinga/feature/disallow-empty-object-names
Disallow empty object names
This commit is contained in:
commit
d3cca0e621
@ -57,7 +57,7 @@ private:
|
|||||||
abstract class ConfigObject : ConfigObjectBase < ConfigType
|
abstract class ConfigObject : ConfigObjectBase < ConfigType
|
||||||
{
|
{
|
||||||
[config, no_user_modify] String __name (Name);
|
[config, no_user_modify] String __name (Name);
|
||||||
[config, no_user_modify] String "name" (ShortName) {
|
[config, no_user_modify, required] String "name" (ShortName) {
|
||||||
get {{{
|
get {{{
|
||||||
String shortName = m_ShortName.load();
|
String shortName = m_ShortName.load();
|
||||||
if (shortName.IsEmpty())
|
if (shortName.IsEmpty())
|
||||||
|
Loading…
x
Reference in New Issue
Block a user