Skip to content

Commit 3f32965

Browse files
author
Yehudit Kerido
committed
Add services field to workspace model
Signed-off-by: Yehudit Kerido <yehudit.kerido@nokia.com>
1 parent d176b64 commit 3f32965

File tree

1 file changed

+1
-1
lines changed
  • workspaces/backend/internal/models/workspaces

1 file changed

+1
-1
lines changed

workspaces/backend/internal/models/workspaces/funcs.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ func extractServices(val *kubefloworgv1beta1.ImageConfigValue, namespacePath str
162162
service := Service{
163163
HttpService: &HttpService{
164164
DisplayName: displayName,
165-
HttpPath: path.Join(namespacePath, fmt.Sprintf("%d", port.Port)),
165+
HttpPath: path.Join(namespacePath, port.Id),
166166
},
167167
}
168168
services = append(services, service)

0 commit comments

Comments
 (0)