We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d608165 commit c564047Copy full SHA for c564047
internal/pkg/services/iaas/utils/utils.go
@@ -17,7 +17,7 @@ type IaaSClient interface {
17
GetNetworkAreaRangeExecute(ctx context.Context, organizationId, areaId, networkRangeId string) (*iaas.NetworkRange, error)
18
}
19
20
-func GetPublicIP(ctx context.Context, apiClient IaaSClient, projectId, publicIpId string) (string, string, error) {
+func GetPublicIP(ctx context.Context, apiClient IaaSClient, projectId, publicIpId string) (ip, associatedResource string, err error) {
21
resp, err := apiClient.GetPublicIPExecute(ctx, projectId, publicIpId)
22
if err != nil {
23
return "", "", fmt.Errorf("get public ip: %w", err)
0 commit comments