mirror of
https://git.sr.ht/~phw/scotty
synced 2025-04-28 06:57:56 +02:00
Better naming, distingiush between "service" and "backend"
This commit is contained in:
parent
6e330daf06
commit
8b227cb514
5 changed files with 20 additions and 20 deletions
|
@ -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")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue