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 058ba38 commit 4e6a7a1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions console/console.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ func GetService(port int, namespace string) *apiv1.Service {
Ports: []apiv1.ServicePort{
{Protocol: "TCP",
TargetPort: intstr.IntOrString{IntVal: port},

Check failure on line 61 in console/console.go

View workflow job for this annotation

GitHub Actions / precheck-and-build (1.19)

cannot use port (variable of type int) as type int32 in struct literal
Port: port,
Port: int32(uint32(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: consolePort,
Port: int32(uint32(consolePort)),
BasePath: basePath,
},
},
Expand Down

0 comments on commit 4e6a7a1

Please sign in to comment.