Skip to content

Commit

Permalink
Correct typo for replaceProcessGroup
Browse files Browse the repository at this point in the history
  • Loading branch information
xumengpanda committed Feb 21, 2023
1 parent 365ab0f commit a654e4f
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion api/v1beta1/foundationdbcluster_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -490,7 +490,7 @@ type ProcessGroupStatus struct {
// This is only used within the reconciliation process, and should not be considered authoritative.
// Deprecated: Use ExclusionTimestamp instead.
Excluded bool `json:"excluded,omitempty"`
// ExcludedTimestamp defines when the process group has been fully excluded.
// ExclusionTimestamp defines when the process group has been fully excluded.
// This is only used within the reconciliation process, and should not be considered authoritative.
ExclusionTimestamp *metav1.Time `json:"exclusionTimestamp,omitempty"`
// ExclusionSkipped determines if exclusion has been skipped for a process, which will allow the process group to be removed without exclusion.
Expand Down
2 changes: 1 addition & 1 deletion api/v1beta2/foundationdbcluster_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ type ProcessGroupStatus struct {
Addresses []string `json:"addresses,omitempty"`
// RemoveTimestamp if not empty defines when the process group was marked for removal.
RemovalTimestamp *metav1.Time `json:"removalTimestamp,omitempty"`
// ExcludedTimestamp defines when the process group has been fully excluded.
// ExclusionTimestamp defines when the process group has been fully excluded.
// This is only used within the reconciliation process, and should not be considered authoritative.
ExclusionTimestamp *metav1.Time `json:"exclusionTimestamp,omitempty"`
// ExclusionSkipped determines if exclusion has been skipped for a process, which will allow the process group to be removed without exclusion.
Expand Down
2 changes: 1 addition & 1 deletion docs/cluster_spec.md
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,7 @@ ProcessGroupStatus represents the status of a ProcessGroup.
| processClass | ProcessClass represents the class the process group has. | [ProcessClass](#processclass) | false |
| addresses | Addresses represents the list of addresses the process group has been known to have. | []string | false |
| removalTimestamp | RemoveTimestamp if not empty defines when the process group was marked for removal. | *metav1.Time | false |
| exclusionTimestamp | ExcludedTimestamp defines when the process group has been fully excluded. This is only used within the reconciliation process, and should not be considered authoritative. | *metav1.Time | false |
| exclusionTimestamp | ExclusionTimestamp defines when the process group has been fully excluded. This is only used within the reconciliation process, and should not be considered authoritative. | *metav1.Time | false |
| exclusionSkipped | ExclusionSkipped determines if exclusion has been skipped for a process, which will allow the process group to be removed without exclusion. | bool | false |
| processGroupConditions | ProcessGroupConditions represents a list of degraded conditions that the process group is in. | []*[ProcessGroupCondition](#processgroupcondition) | false |

Expand Down
5 changes: 3 additions & 2 deletions kubectl-fdb/cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,13 @@ package cmd
import (
"bufio"
"fmt"
"github.com/fatih/color"
"log"
"math/rand"
"os"
"time"

"github.com/fatih/color"

"strings"

"github.com/spf13/viper"
Expand Down Expand Up @@ -94,7 +95,7 @@ func NewRootCmd(streams genericclioptions.IOStreams) *cobra.Command {
return cmd
}

// confirmAction requests a user to confirm it's action
// confirmAction requests a user to confirm its action
func confirmAction(action string) bool {
reader := bufio.NewReader(os.Stdin)

Expand Down

0 comments on commit a654e4f

Please sign in to comment.