Better naming, distingiush between "service" and "backend"

This commit is contained in:
Philipp Wolfer 2023-11-19 22:54:42 +01:00
parent 6e330daf06
commit 8b227cb514
No known key found for this signature in database
GPG key ID: 8FDF744D4919943B
5 changed files with 20 additions and 20 deletions

View file

@ -36,8 +36,8 @@ import (
// listensCmd represents the listens command
var listensCmd = &cobra.Command{
Use: "listens",
Short: "Transfer listens between two backends",
Long: `Transfers listens between two configured backends.`,
Short: "Transfer listens between two services",
Long: `Transfers listens between two configured services.`,
Run: func(cmd *cobra.Command, args []string) {
sourceName, sourceConfig := getConfigFromFlag(cmd, "from")
targetName, targetConfig := getConfigFromFlag(cmd, "to")