mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-08-08 06:52:26 -04:00
Rename provider
This commit is contained in:
parent
4496755c64
commit
dad9a97ee2
8 changed files with 12 additions and 12 deletions
|
@ -18,8 +18,8 @@ const _CloudProvider_name = "UnknownAWSAzureGCP"
|
|||
|
||||
var _CloudProvider_index = [...]uint8{0, 7, 10, 15, 18}
|
||||
|
||||
func (i CloudProvider) String() string {
|
||||
if i >= CloudProvider(len(_CloudProvider_index)-1) {
|
||||
func (i Provider) String() string {
|
||||
if i >= Provider(len(_CloudProvider_index)-1) {
|
||||
return "CloudProvider(" + strconv.FormatInt(int64(i), 10) + ")"
|
||||
}
|
||||
return _CloudProvider_name[_CloudProvider_index[i]:_CloudProvider_index[i+1]]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue