@@ -116,8 +116,7 @@ func (nt *nsTracker) init(
116
116
for _ , namespace := range unstructuredNSs {
117
117
if nt .singleLabelSelector != nil &&
118
118
nt .singleLabelSelector .Matches (labels .Set (namespace .GetLabels ())) {
119
- nt .logger .Debugf (`Track namespace %s,
120
- because its labels match backup LabelSelector.` ,
119
+ nt .logger .Debugf ("Track namespace %s, because its labels match backup LabelSelector." ,
121
120
namespace .GetName (),
122
121
)
123
122
@@ -128,8 +127,7 @@ func (nt *nsTracker) init(
128
127
if len (nt .orLabelSelector ) > 0 {
129
128
for _ , selector := range nt .orLabelSelector {
130
129
if selector .Matches (labels .Set (namespace .GetLabels ())) {
131
- nt .logger .Debugf (`Track namespace %s",
132
- "because its labels match the backup OrLabelSelector.` ,
130
+ nt .logger .Debugf ("Track namespace %s, because its labels match the backup OrLabelSelector." ,
133
131
namespace .GetName (),
134
132
)
135
133
nt .track (namespace .GetName ())
@@ -148,8 +146,7 @@ func (nt *nsTracker) init(
148
146
}
149
147
150
148
if nt .namespaceFilter .ShouldInclude (namespace .GetName ()) {
151
- nt .logger .Debugf (`Track namespace %s,
152
- because its name match the backup namespace filter.` ,
149
+ nt .logger .Debugf ("Track namespace %s, because its name match the backup namespace filter." ,
153
150
namespace .GetName (),
154
151
)
155
152
nt .track (namespace .GetName ())
0 commit comments