Commit 6cd32e68 authored by Antoine Millet's avatar Antoine Millet
Browse files

Fixed h tag to use the new background decorator API

parent f0130513
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -32,7 +32,7 @@ from cloudcontrol.common.client.tags import ttl, refresh, background

@ttl(3600 * 24)  # one day
@refresh(30)
@background
@background()
def h():
    """Hostname tag."""
    return getfqdn()