Project

General

Custom queries

Profile

Actions

Refactor #9836

closed

Using provider_friendly_name in paths to compute resource related assets can cause problems

Added by Tomáš Strachota about 10 years ago. Updated almost 7 years ago.

Status:
Closed
Priority:
Normal
Category:
Compute resources
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Provider friendly names can contain spaces and may vary according to the provider distribution. Therefore they are not suitable for usage for building paths to asset files. We currently use it in the following helpers:

provider_partial_exist?
provider_partial
nic_info_js

provider_friendly_name should be replaced with provider to avoid future complications.


Related issues 1 (0 open1 closed)

Related to Foreman - Bug #9824: Unable to show or edit VMWare Compute resourceClosedTomáš Strachota03/19/2015Actions

Added by Tomáš Strachota about 10 years ago

Revision c2f60b57 (diff)

Fixes #9836 - use provider type in host helpers

Added by Tomáš Strachota about 10 years ago

Revision e742808c (diff)

Fixes #9836 - use provider type in host helpers

(cherry picked from commit c2f60b5702320f4be3125d9fed8a30a2ec7a3994)

Actions

Also available in: Atom PDF