commit | ddd034ef08079f72bb36204a286cb74b79a8c8d3 | [log] [tgz] |
---|---|---|
author | Asim Shankar <ashankar@google.com> | Mon Aug 17 12:37:27 2015 -0700 |
committer | Asim Shankar <ashankar@google.com> | Mon Aug 17 12:37:27 2015 -0700 |
tree | 53850ed9889ac94b79760c37bdb28264f01c0629 | |
parent | 8344434ea6c380f07a6a853ed142bca6c739b479 [diff] |
services/device/device: Make it an error to operate on the null set. Sometimes commands like "device update" return success even though they havn't changed anything. This often is because the device isn't mounted or something and as a result the "glob" used to run the operation returns nothing - so the command thinks it has successfully updated 0 objects. This commit makes it an error to do an operation on 0 objects. Errors in operating on an object were already being reported. Change-Id: Ie7302a35b27ac154c1d501bec60eb5f8f7c95070
This repository contains a reference implementation of the Vanadium APIs.
Unlike the APIs in https://github.com/vanadium/go.v23, which promises to provide backward compatibility this repository makes no such promises.