Merge "Show container in list command" into main
This commit is contained in:
committed by
Android (Google) Code Review
commit
e1f142d93a
@@ -56,18 +56,16 @@ fn convert(msg: ProtoFlagQueryReturnMessage) -> Result<Flag> {
|
||||
};
|
||||
|
||||
Ok(Flag {
|
||||
name: msg.flag_name.unwrap(),
|
||||
package: msg.package_name.unwrap(),
|
||||
name: msg.flag_name.ok_or(anyhow!("missing flag name"))?,
|
||||
package: msg.package_name.ok_or(anyhow!("missing package name"))?,
|
||||
value,
|
||||
permission,
|
||||
value_picked_from,
|
||||
staged_value,
|
||||
container: msg.container.ok_or(anyhow!("missing container"))?,
|
||||
|
||||
// TODO: remove once DeviceConfig is not in the CLI.
|
||||
namespace: "-".to_string(),
|
||||
|
||||
// TODO: populate these fields once they are available in the list API.
|
||||
container: "-".to_string(),
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user