Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
小 白蛋
Rainbond2
Commits
a99c8b08
Commit
a99c8b08
authored
3 years ago
by
barnettZQG
Browse files
Options
Download
Plain Diff
Merge branch 'feature-helmapp-2' of
https://github.com/goodrain/rainbond
into feature-helmapp-2
parents
93b58352
ca2f88d5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
worker/server/server.go
+5
-0
worker/server/server.go
with
5 additions
and
0 deletions
+5
-0
worker/server/server.go
+
5
-
0
View file @
a99c8b08
...
...
@@ -712,6 +712,11 @@ func (r *RuntimeServer) ListAppServices(ctx context.Context, in *pb.AppReq) (*pb
func
(
r
*
RuntimeServer
)
convertServices
(
services
[]
*
corev1
.
Service
)
[]
*
pb
.
AppService
{
var
appServices
[]
*
pb
.
AppService
for
_
,
svc
:=
range
services
{
if
svc
.
Spec
.
ClusterIP
==
"None"
{
// ignore headless service
continue
}
var
ports
[]
*
pb
.
AppService_Port
for
_
,
port
:=
range
svc
.
Spec
.
Ports
{
ports
=
append
(
ports
,
&
pb
.
AppService_Port
{
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
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