Unverified Commit 6d9c0ddd authored by Mark Beamer Jr's avatar Mark Beamer Jr
Browse files

ci test

parent 7a6801e2
......@@ -87,8 +87,8 @@ 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]
if len(hostname) > 30 {
hostname = hostname[0:30]
}
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