File: 02-Spelling.patch

package info (click to toggle)
golang-github-hashicorp-serf 0.8.1%2Bgit20180508.80ab4877~ds-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 1,276 kB
  • sloc: sh: 412; python: 11; makefile: 7
file content (27 lines) | stat: -rw-r--r-- 1,031 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
Description: Fix spelling mistakes spotted by lintian.
--- a/cmd/serf/command/members.go
+++ b/cmd/serf/command/members.go
@@ -57,9 +57,9 @@
   Outputs the members of a running Serf agent.
 
 Options:
 
-  -detailed                 Additional information such as protocol verions
+  -detailed                 Additional information such as protocol versions
                             will be shown (only affects text output format).
 
   -format                   If provided, output is returned in the specified
                             format. Valid formats are 'json', and 'text' (default)
--- a/serf/serf.go
+++ b/serf/serf.go
@@ -1397,9 +1397,9 @@
 		return
 	}
 
 	// Since we lost the vote, we need to exit
-	s.logger.Printf("[WARN] serf: minority in name conflict resolution, quiting [%d / %d]",
+	s.logger.Printf("[WARN] serf: minority in name conflict resolution, quitting [%d / %d]",
 		matching, responses)
 	if err := s.Shutdown(); err != nil {
 		s.logger.Printf("[ERR] serf: Failed to shutdown: %v", err)
 	}