File tree Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -191,17 +191,13 @@ impl CredentialApi for SsCredential {
191
191
}
192
192
193
193
/// Get attributes on a unique matching item, if it exists
194
- ///
195
- /// Same error conditions as [get_secret].
196
194
fn get_attributes ( & self ) -> Result < HashMap < String , String > > {
197
195
let attributes: Vec < HashMap < String , String > > =
198
196
self . map_matching_items ( get_item_attributes, true ) ?;
199
197
Ok ( attributes. into_iter ( ) . next ( ) . unwrap ( ) )
200
198
}
201
199
202
200
/// Update attributes on a unique matching item, if it exists
203
- ///
204
- /// Same error conditions as [get_secret].
205
201
fn update_attributes ( & self , attributes : & HashMap < & str , & str > ) -> Result < ( ) > {
206
202
self . map_matching_items ( |i| update_item_attributes ( i, attributes) , true ) ?;
207
203
Ok ( ( ) )
You can’t perform that action at this time.
0 commit comments