Skip to content

Commit 2cb3c51

Browse files
authored
Merge pull request #4335 from vtrenton/remove-unused-var
📖 Docs: removed typeDegradedMemcached and comment
2 parents 026c5f0 + 38421b6 commit 2cb3c51

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

docs/book/src/getting-started/testdata/project/internal/controller/memcached_controller.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,6 @@ import (
3939
const (
4040
// typeAvailableMemcached represents the status of the Deployment reconciliation
4141
typeAvailableMemcached = "Available"
42-
// typeDegradedMemcached represents the status used when the custom resource is deleted and the finalizer operations are yet to occur.
43-
typeDegradedMemcached = "Degraded"
4442
)
4543

4644
// MemcachedReconciler reconciles a Memcached object

hack/docs/internal/getting-started/generate_getting_started.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -285,8 +285,6 @@ const controllerStatusTypes = `
285285
const (
286286
// typeAvailableMemcached represents the status of the Deployment reconciliation
287287
typeAvailableMemcached = "Available"
288-
// typeDegradedMemcached represents the status used when the custom resource is deleted and the finalizer operations are yet to occur.
289-
typeDegradedMemcached = "Degraded"
290288
)`
291289

292290
const controllerInfoReconcileOld = `// TODO(user): Modify the Reconcile function to compare the state specified by

0 commit comments

Comments
 (0)