Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
k8s-ingress
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
3
Merge Requests
3
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
uplex-varnish
k8s-ingress
Commits
759f7f67
Commit
759f7f67
authored
Apr 16, 2024
by
Geoff Simmons
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Simplify a bit of log formatting.
parent
dd46b1e4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
9 deletions
+4
-9
ingress.go
pkg/controller/ingress.go
+4
-9
No files found.
pkg/controller/ingress.go
View file @
759f7f67
...
...
@@ -1013,16 +1013,11 @@ func (worker *NamespaceWorker) ings2OffloaderSpec(
}
func
ingsArrayString
(
ings
[]
*
net_v1
.
Ingress
)
string
{
var
s
strings
.
Builder
s
.
WriteRune
(
'['
)
for
_
,
ing
:=
range
ings
{
s
.
WriteRune
(
' '
)
s
.
WriteString
(
ing
.
Namespace
)
s
.
WriteRune
(
'/'
)
s
.
WriteString
(
ing
.
Name
)
ingStrings
:=
make
([]
string
,
len
(
ings
))
for
i
,
ing
:=
range
ings
{
ingStrings
[
i
]
=
ing
.
Namespace
+
"/"
+
ing
.
Name
}
s
.
WriteString
(
" ]"
)
return
s
.
String
()
return
strings
.
Join
(
ingStrings
,
" "
)
}
// Update the status.loadBalancer field of each suuccessfully synced
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment