delete unused var

This commit is contained in:
hwdef
2019-09-19 12:03:27 +08:00
parent cfa3e2c499
commit 4e7ef9ad36
10 changed files with 0 additions and 33 deletions

View File

@@ -37,9 +37,7 @@ import (
// maxUpdateRetries is the maximum number of retries used for update conflict resolution prior to failure
const maxUpdateRetries = 10
// updateConflictError is the error used to indicate that the maximum number of retries against the API server have
// been attempted and we need to back off
var updateConflictError = fmt.Errorf("aborting update after %d attempts", maxUpdateRetries)
var patchCodec = scheme.Codecs.LegacyCodec(apps.SchemeGroupVersion)
// overlappingStatefulSets sorts a list of StatefulSets by creation timestamp, using their names as a tie breaker.