Commit 29be13a
Changed files (1)
cmd
cmd/service.go
@@ -22,6 +22,10 @@ var (
ErrDieRequired = errors.New(fmt.Sprintf(_errFmt, EnvDie))
)
+// TODO:
+// - move cfdns to a goroutine in cf package
+// - move watch into a goroutine
+// - setup context for canx and signals
func service(cmd *cobra.Command, args []string) error {
zoneName, zoneNameExists := os.LookupEnv(cf.EnvZoneName)