Revision a744b676 lib/config.py

b/lib/config.py
44 44
from ganeti import objects
45 45
from ganeti import serializer
46 46
from ganeti import uidpool
47
from ganeti import netutils
47 48

  
48 49

  
49 50
_config_lock = locking.SharedLock()
......
150 151
    # _DistributeConfig, we compute it here once and reuse it; it's
151 152
    # better to raise an error before starting to modify the config
152 153
    # file than after it was modified
153
    self._my_hostname = utils.HostInfo().name
154
    self._my_hostname = netutils.HostInfo().name
154 155
    self._last_cluster_serial = -1
155 156
    self._OpenConfig()
156 157

  

Also available in: Unified diff