Make the altsrc input source context isSet method private

so that it doesn't extend the public surface area, instead focusing on
being a bugfix _only_.
This commit is contained in:
2022-04-25 20:49:31 -04:00
parent efe04493fc
commit fe1468cc86
4 changed files with 13 additions and 13 deletions

View File

@@ -244,8 +244,7 @@ func (fsm *MapInputSource) Bool(name string) (bool, error) {
return false, nil
}
// IsSet returns the truth of the key's existence in the map
func (fsm *MapInputSource) IsSet(name string) bool {
func (fsm *MapInputSource) isSet(name string) bool {
if _, exists := fsm.valueMap[name]; exists {
return exists
}