mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-12-01 08:55:04 -05:00
deps: update Go dependencies (#3967)
* deps: update Go dependencies * deps: hold back terraform-plugin deps * deps: keep google.golang.org/grpc at v1.74 * fix tests --------- Signed-off-by: Daniel Weiße <dw@edgeless.systems> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Daniel Weiße <dw@edgeless.systems>
This commit is contained in:
parent
2360d627aa
commit
d119e1f44d
28 changed files with 611 additions and 548 deletions
|
|
@ -18,8 +18,9 @@ const _Role_name = "UnknownControlPlaneWorker"
|
|||
var _Role_index = [...]uint8{0, 7, 19, 25}
|
||||
|
||||
func (i Role) String() string {
|
||||
if i >= Role(len(_Role_index)-1) {
|
||||
idx := int(i) - 0
|
||||
if i < 0 || idx >= len(_Role_index)-1 {
|
||||
return "Role(" + strconv.FormatInt(int64(i), 10) + ")"
|
||||
}
|
||||
return _Role_name[_Role_index[i]:_Role_index[i+1]]
|
||||
return _Role_name[_Role_index[idx]:_Role_index[idx+1]]
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue