Unverified Commit 7a6801e2 authored by Mark Beamer Jr's avatar Mark Beamer Jr
Browse files

ci test

parent a46d93a1
......@@ -87,6 +87,10 @@ func ytSync(cmd *cobra.Command, args []string) {
log.Error("could not detect system hostname")
hostname = "ytsync-unknown"
}
if len(hostname) > 100 {
hostname = hostname[0:100]
}
util.InitSlack(os.Getenv("SLACK_TOKEN"), os.Getenv("SLACK_CHANNEL"), hostname)
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment