this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

beemo: rename admin interface conf

+4 -4
+4 -4
cmd/beemo/main.go
··· 49 49 EnvVars: []string{"ATP_PDS_HOST"}, 50 50 }, 51 51 &cli.StringFlag{ 52 - Name: "redsky-host", 53 - Usage: "method, hostname, and port of redsky, for direct links", 52 + Name: "admin-host", 53 + Usage: "method, hostname, and port of admin interface (eg, Ozone), for direct links", 54 54 Value: "http://localhost:3000", 55 - EnvVars: []string{"ATP_REDSKY_HOST"}, 55 + EnvVars: []string{"ATP_ADMIN_HOST", "ATP_REDSKY_HOST"}, 56 56 }, 57 57 &cli.StringFlag{ 58 58 Name: "handle", ··· 171 171 msg += fmt.Sprintf("recent unresolved: `%d`\t", len(mrr.Reports)) 172 172 msg += fmt.Sprintf("instance: `%s`\n", cctx.String("pds-host")) 173 173 msg += fmt.Sprintf("reasonType: `%s`\t", shortType) 174 - msg += fmt.Sprintf("Redsky: %s/reports/%d\n", cctx.String("redsky-host"), report.Id) 174 + msg += fmt.Sprintf("Admin: %s/reports/%d\n", cctx.String("admin-host"), report.Id) 175 175 //msg += fmt.Sprintf("reportedByDid: `%s`\n", report.ReportedByDid) 176 176 log.Infof("found new report, notifying slack: %s", report) 177 177 err := sendSlackMsg(cctx, msg)