superfly / flyctl

Duplicate body found in branches CRT-D0006
Bug risk
Major
a month agoa year old
both branches in if statement have same body
501	} else if agentErr != nil {
502		captureError(ctx, fmt.Errorf("dns error looking up: %s %s: %v", orgSlug, appName, agentErr), "agentclient-instances", orgSlug, appName)
503		return gqlResult.Instances, nil
504	} else if !arrayEqual(gqlResult.Instances.Addresses, agentResult.Addresses) {505		return gqlResult.Instances, nil
506	} else {
507		return gqlResult.Instances, nil