Skip to content

Commit 9f5f4fb

Browse files
committed
golangci-lint: Resolve last lll failures
1 parent 8807c0a commit 9f5f4fb

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

cmd/fluent-manager/main.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,8 @@ func main() {
8181
flag.StringVar(&watchNamespaces, "watch-namespaces", "",
8282
"Optional comma separated list of namespaces to watch for resources in. Defaults to cluster scope.")
8383
flag.StringVar(&metricsAddr, "metrics-bind-address", "0",
84-
"The address the metrics endpoint binds to. Use :8443 for HTTPS or :8080 for HTTP, or leave as 0 to disable the metrics service.")
84+
"The address the metrics endpoint binds to. Use :8443 for HTTPS or :8080 for HTTP, or leave "+
85+
"as 0 to disable the metrics service.")
8586
flag.BoolVar(&enableLeaderElection, "leader-elect", false,
8687
"Enable leader election for controller manager. "+
8788
"Enabling this will ensure there is only one active controller manager.")

cmd/fluent-watcher/fluentbit/main.go

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,11 +68,13 @@ func main() {
6868

6969
if exitOnFailure {
7070
_ = level.Warn(l).
71-
Log("--exit-on-failure is deprecated. The process will exit no matter what if fluent-bit exits so this can safely be removed.")
71+
Log("--exit-on-failure is deprecated. The process will exit no matter what if " +
72+
"fluent-bit exits so this can safely be removed.")
7273
}
7374
if flbTerminationTimeout > 0 {
7475
_ = level.Warn(l).
75-
Log("--flb-timeout is deprecated. Consider setting the terminationGracePeriod field on the `(Cluster)FluentBit` instance.")
76+
Log("--flb-timeout is deprecated. Consider setting the terminationGracePeriod " +
77+
"field on the `(Cluster)FluentBit` instance.")
7678
}
7779

7880
flag.Parse()

0 commit comments

Comments
 (0)