Skip to content

Commit

Permalink
trial
Browse files Browse the repository at this point in the history
  • Loading branch information
uriziv1 committed Aug 25, 2024
1 parent ad83b17 commit 520c34c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions console/console.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ func GetService(port int, namespace string) *apiv1.Service {
Spec: apiv1.ServiceSpec{
Ports: []apiv1.ServicePort{
{Protocol: "TCP",
TargetPort: intstr.IntOrString{IntVal: int32(uint32(port))},
Port: int32(uint32(port)),
TargetPort: intstr.IntOrString{IntVal: int32(uint64(port))},
Port: int32(uint64(port)),
Name: "console-port",
},
},
Expand All @@ -81,7 +81,7 @@ func GetConsolePluginCR(consolePort int, basePath string, serviceNamespace strin
Service: consolev1alpha1.ConsolePluginService{
Name: "ibm-odf-console-service",
Namespace: serviceNamespace,
Port: int32(uint32(consolePort)),
Port: int32(uint64(consolePort)),
BasePath: basePath,
},
},
Expand Down

0 comments on commit 520c34c

Please sign in to comment.