concourse / concourse

Omit comparison with boolean constant SCC-S1002
Anti-pattern
Minor
1 occurrence in this check
should omit comparison to bool constant, can be simplified to size
244	var found bool
245	var sizeInMB int
246	var err error
247	if size == true {248		liveVolume, found, sizeInMB, err = repo.filesystem.LookupVolumeWithSize(handle)
249		if err != nil {
250			logger.Error("failed-to-lookup-volume", err)