lxd/storage_pools.go
func storagePoolClusterConfigForEtag(dbConfig map[string]string) map[string]string {
	config := util.CopyConfig(dbConfig)
	for _, key := range db.StoragePoolNodeConfigKeys {
		delete(config, key)
	}
	return config
}
func storagePoolClusterConfigForEtag(dbConfig map[string]string) map[string]string {
	config := util.CopyConfig(dbConfig)
	for _, key := range db.StoragePoolNodeConfigKeys {
		delete(config, key)
	}
	return config
}
func storagePoolClusterConfigForEtag ( dbConfig map [ string ] string ) map [ string ] string { config := util . CopyConfig ( dbConfig ) for _ , key := range db . StoragePoolNodeConfigKeys { delete ( config , key ) } return config }
// This helper deletes any node-specific values from the config object, since
// they should not be part of the calculated etag.
This helper deletes any node - specific values from the config object since they should not be part of the calculated etag .