mirror of
https://github.com/argoproj/argo-cd
synced 2026-04-21 17:07:16 +00:00
Fix some comments (#17830)
Signed-off-by: pullmerge <watchmessi@outlook.com> Co-authored-by: pasha-codefresh <pavel@codefresh.io>
This commit is contained in:
parent
44894e9e43
commit
cbbb99d348
3 changed files with 3 additions and 3 deletions
|
|
@ -369,7 +369,7 @@ func TestRunCommandEmptyCommand(t *testing.T) {
|
|||
assert.ErrorContains(t, err, "Command is empty")
|
||||
}
|
||||
|
||||
// TestRunCommandContextTimeoutWithGracefulTermination makes sure that the process is given enough time to cleanup before sending SIGKILL.
|
||||
// TestRunCommandContextTimeoutWithCleanup makes sure that the process is given enough time to cleanup before sending SIGKILL.
|
||||
func TestRunCommandContextTimeoutWithCleanup(t *testing.T) {
|
||||
ctx, cancel := context.WithTimeout(context.Background(), 900*time.Millisecond)
|
||||
defer cancel()
|
||||
|
|
|
|||
|
|
@ -374,7 +374,7 @@ func assertMetricsPrinted(t *testing.T, expectedLines, body string) {
|
|||
}
|
||||
}
|
||||
|
||||
// assertMetricNotPrinted
|
||||
// assertMetricsNotPrinted
|
||||
func assertMetricsNotPrinted(t *testing.T, expectedLines, body string) {
|
||||
for _, line := range strings.Split(expectedLines, "\n") {
|
||||
if line == "" {
|
||||
|
|
|
|||
|
|
@ -1688,7 +1688,7 @@ type ResourceStatus struct {
|
|||
SyncWave int64 `json:"syncWave,omitempty" protobuf:"bytes,10,opt,name=syncWave"`
|
||||
}
|
||||
|
||||
// GroupKindVersion returns the GVK schema type for given resource status
|
||||
// GroupVersionKind returns the GVK schema type for given resource status
|
||||
func (r *ResourceStatus) GroupVersionKind() schema.GroupVersionKind {
|
||||
return schema.GroupVersionKind{Group: r.Group, Version: r.Version, Kind: r.Kind}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue