Sha256: e5cacdd4f138b6490ef1812229cdc58b5af0b2e366c5eed456954ff0cebfc357

Contents?: true

Size: 165 Bytes

Versions: 3

Compression:

Stored size: 165 Bytes

Contents

function(doc) {
    if(doc.type == "sys") {
        var i;
        for (i = 0; i < doc.zones.length; i++) {
            emit(doc.zones[i], null);
        }
    }
}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
orchestrator-1.0.3 app/models/orchestrator/sys/by_zones/map.js
orchestrator-1.0.2 app/models/orchestrator/sys/by_zones/map.js
orchestrator-1.0.1 app/models/orchestrator/sys/by_zones/map.js