agent/taskresource/ssmsecret/ssmsecret.go
func (secret *SSMSecretResource) updateAppliedStatusUnsafe(knownStatus resourcestatus.ResourceStatus) {
	if secret.appliedStatus == resourcestatus.ResourceStatus(SSMSecretStatusNone) {
		return
	}

	// Check if the resource transition has already finished
	if secret.appliedStatus <= knownStatus {
		secret.appliedStatus = resourcestatus.ResourceStatus(SSMSecretStatusNone)
	}
}
func (secret *SSMSecretResource) updateAppliedStatusUnsafe(knownStatus resourcestatus.ResourceStatus) {
	if secret.appliedStatus == resourcestatus.ResourceStatus(SSMSecretStatusNone) {
		return
	}

	// Check if the resource transition has already finished
	if secret.appliedStatus <= knownStatus {
		secret.appliedStatus = resourcestatus.ResourceStatus(SSMSecretStatusNone)
	}
}
func ( secret * SSMSecretResource ) updateAppliedStatusUnsafe ( knownStatus resourcestatus . ResourceStatus ) { if secret . appliedStatus == resourcestatus . ResourceStatus ( SSMSecretStatusNone ) { return } // Check if the resource transition has already finished if secret . appliedStatus <= knownStatus { secret . appliedStatus = resourcestatus . ResourceStatus ( SSMSecretStatusNone ) } }
// updateAppliedStatusUnsafe updates the resource transitioning status
updateAppliedStatusUnsafe updates the resource transitioning status