File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -294,11 +294,11 @@ get_content_type(Headers) ->
294294 end ,
295295 parse_content_type (Value ).
296296
297- -spec has_credentials () -> true | false .
297+ -spec has_credentials () -> boolean () .
298298has_credentials () ->
299299 gen_server :call (rabbitmq_aws , has_credentials ).
300300
301- -spec has_credentials (state ()) -> true | false .
301+ -spec has_credentials (state ()) -> boolean () .
302302% % @doc check to see if there are credentials made available in the current state
303303% % returning false if not or if they have expired.
304304% % @end
@@ -307,7 +307,7 @@ has_credentials(#state{access_key = Key}) when Key /= undefined -> true;
307307has_credentials (_ ) -> false .
308308
309309
310- -spec expired_credentials (Expiration :: calendar :datetime ()) -> true | false .
310+ -spec expired_credentials (Expiration :: calendar :datetime ()) -> boolean () .
311311% % @doc Indicates if the date that is passed in has expired.
312312% % end
313313expired_credentials (undefined ) -> false ;
You can’t perform that action at this time.
0 commit comments