Skip to content

Commit 668a4b2

Browse files
author
Mladen Rusev
committed
verify job linter
1 parent 001e5d7 commit 668a4b2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/internal/cyberark/servicediscovery/discovery.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,14 +137,14 @@ func (c *Client) DiscoverServices(ctx context.Context, subdomain string) (*Servi
137137
switch svc.ServiceName {
138138
case IdentityServiceName:
139139
for _, ep := range svc.Endpoints {
140-
if ep.Type == "main" && ep.IsActive == true && ep.API != "" {
140+
if ep.Type == "main" && ep.IsActive && ep.API != "" {
141141
identityAPI = ep.API
142142
break
143143
}
144144
}
145145
case DiscoveryContextServiceName:
146146
for _, ep := range svc.Endpoints {
147-
if ep.Type == "main" && ep.IsActive == true && ep.API != "" {
147+
if ep.Type == "main" && ep.IsActive && ep.API != "" {
148148
discoveryContextAPI = ep.API
149149
break
150150
}

0 commit comments

Comments
 (0)