We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents cb65bd4 + ee97fe9 commit df7adf4Copy full SHA for df7adf4
1 file changed
cli/config/configfile/file.go
@@ -113,7 +113,7 @@ func (configFile *ConfigFile) LegacyLoadFromReader(configData io.Reader) error {
113
// LoadFromReader reads the configuration data given and sets up the auth config
114
// information with given directory and populates the receiver object
115
func (configFile *ConfigFile) LoadFromReader(configData io.Reader) error {
116
- if err := json.NewDecoder(configData).Decode(&configFile); err != nil && !errors.Is(err, io.EOF) {
+ if err := json.NewDecoder(configData).Decode(configFile); err != nil && !errors.Is(err, io.EOF) {
117
return err
118
}
119
var err error
0 commit comments