concourse / concourse

Redundant conversion between string and []byte CRT-A0007
Anti-pattern
Major
5 months ago2 years old
suggestion: len(decryptedConfig) != 0
1655	}
1656
1657	existingConfig := atc.ResourceConfig{}
1658	if string(decryptedConfig) != "" {1659		err = json.Unmarshal(decryptedConfig, &existingConfig)
1660		if err != nil {
1661			return false, err