func ReadBootstrapConfigFile(file string) (map[string]BootstrapConfig, error) {
	data, err := ioutil.ReadFile(file)
	if err != nil {
		if os.IsNotExist(err) {
			return nil, nil
		}
		return nil, err
	}
	configs, err := ParseBootstrapConfig(data)
	if err != nil {
		return nil, err
	}
	return configs, nil
}
// ReadBootstrapConfigFile loads all bootstrap configurations defined in a
// given file. If the file is not found, it is not an error.
ReadBootstrapConfigFile loads all bootstrap configurations defined in a
given file. If the file is not found, it is not an error.
// ReadBootstrapConfigFile loads all bootstrap configurations defined in a // given file . If the file is not found it is not an error .
func ReadBootstrapConfigFile(file string) (map[string]BootstrapConfig, error) {
	data, err := ioutil.ReadFile(file)
	if err != nil {
		if os.IsNotExist(err) {
			return nil, nil
		}
		return nil, err
	}
	configs, err := ParseBootstrapConfig(data)
	if err != nil {
		return nil, err
	}
	return configs, nil
}
func ReadBootstrapConfigFile ( file string ) ( map [ string ] BootstrapConfig , error ) { data , err := ioutil . ReadFile ( file ) if err != nil { if os . IsNotExist ( err ) { return nil , nil } return nil , err } configs , err := ParseBootstrapConfig ( data ) if err != nil { return nil , err } return configs , nil }
ReadBootstrapConfigFile loads all bootstrap configurations defined in a
given file.
ReadBootstrapConfigFile loads all bootstrap configurations defined in a given file .