Skip to content

Commit

Permalink
trial
Browse files Browse the repository at this point in the history
  • Loading branch information
shlomitn committed Aug 25, 2024
1 parent 1881370 commit 058ba38
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(port)},
Port: int32(port),
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,

Check failure on line 62 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
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(consolePort),
Port: consolePort,

Check failure on line 84 in console/console.go

View workflow job for this annotation

GitHub Actions / precheck-and-build (1.19)

cannot use consolePort (variable of type int) as type int32 in struct literal
BasePath: basePath,
},
},
Expand Down

0 comments on commit 058ba38

Please sign in to comment.