This message was deleted.
# golang
s
This message was deleted.
g
I believe you could use config.Try() which returns (string, error) and assign your databricks.ClusterInitScriptArray to a variable based on that
👍 1
h
For now I am using this and it does the trick. 🙂
Copy code
var = config.Get("var_name")
if var_name == "" {
  var = "default val"
}