Skip to content

Commit

Permalink
fix(status): service name positional conditions (#1426)
Browse files Browse the repository at this point in the history
  • Loading branch information
rkpattnaik780 authored Feb 10, 2022
1 parent 3055fb8 commit ccfb8c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/cmd/status/statusBuilder.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ func (c *statusClient) BuildStatus(ctx context.Context, services []string) (stat

status = &serviceStatus{}

if stringInSlice(servicespec.ServiceRegistryServiceName, services) {
if stringInSlice(servicespec.KafkaServiceName, services) {
if instanceID, exists := cfg.GetKafkaIdOk(); exists {
// nolint:govet
kafkaStatus, err := c.getKafkaStatus(ctx, instanceID)
Expand Down

0 comments on commit ccfb8c3

Please sign in to comment.