You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
hetzner-ansible/smardigo/pmci/script/initialize-connect-features...

10 lines
269 B
Groovy

def parameters = [:]
parameters["default"] = "'1'"
def defaultFeatures = datasources.query("connect-features").processScope(contextScopeId, contextScopeTag).parameters(parameters).list();
def features = []
defaultFeatures.each { val -> features+= val.key }
features