Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:20
erlang
2866-Fix-diameter-service_info-2-spec.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 2866-Fix-diameter-service_info-2-spec.patch of Package erlang
From b5fdcf3572b83679b7b865772c93a9656e385635 Mon Sep 17 00:00:00 2001 From: Anders Svensson <anders@erlang.org> Date: Sun, 9 Feb 2020 22:17:25 +0100 Subject: [PATCH 6/7] Fix diameter:service_info/2 spec The possibility of a diameter:peer_ref() as item as added in commit 6f55c32c and documented in commit e18806dc, but the dialyzer spec wasn't updated. --- lib/diameter/src/base/diameter.erl | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/lib/diameter/src/base/diameter.erl b/lib/diameter/src/base/diameter.erl index 7f172e1fa1..ee5ff38a42 100644 --- a/lib/diameter/src/base/diameter.erl +++ b/lib/diameter/src/base/diameter.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2010-2019. All Rights Reserved. +%% Copyright Ericsson AB 2010-2020. All Rights Reserved. %% %% Licensed under the Apache License, Version 2.0 (the "License"); %% you may not use this file except in compliance with the License. @@ -146,8 +146,9 @@ services() -> %% service_info/2 %% --------------------------------------------------------------------------- --spec service_info(service_name(), atom() | [atom()]) - -> any(). +-spec service_info(service_name(), Item | [Item]) + -> any() + when Item :: atom() | peer_ref(). service_info(SvcName, Option) -> diameter_service:info(SvcName, Option). -- 2.16.4
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor