chore: make function comment match function name

Signed-off-by: linghuying <1599935829@qq.com>
pull/30693/head
linghuying 6 months ago
parent b304ee495d
commit fc476f7235

@ -771,7 +771,7 @@ func PushOptStrictMode(strictMode bool) PushOption {
}
}
// PushOptCreationDate returns a function that sets the creation time
// PushOptCreationTime returns a function that sets the creation time
func PushOptCreationTime(creationTime string) PushOption {
return func(operation *pushOperation) {
operation.creationTime = creationTime

@ -166,7 +166,7 @@ func (mock *MockConfigMapsInterface) Delete(_ context.Context, name string, _ me
return nil
}
// newTestFixture initializes a MockSecretsInterface.
// newTestFixtureSecrets initializes a MockSecretsInterface.
// Secrets are created for each release provided.
func newTestFixtureSecrets(t *testing.T, releases ...*rspb.Release) *Secrets {
var mock MockSecretsInterface

@ -476,7 +476,7 @@ func TestStorageLast(t *testing.T) {
}
}
// TestUpgradeInitiallyFailedRelease tests a case when there are no deployed release yet, but history limit has been
// TestUpgradeInitiallyFailedReleaseWithHistoryLimit tests a case when there are no deployed release yet, but history limit has been
// reached: the has-no-deployed-releases error should not occur in such case.
func TestUpgradeInitiallyFailedReleaseWithHistoryLimit(t *testing.T) {
storage := Init(driver.NewMemory())

Loading…
Cancel
Save