Skip to content

Conversation

@JiGuoDing
Copy link
Collaborator

Add notation to UpdateDatasetStatus in pkg/ddc/jindo/dataset.go.

@fluid-e2e-bot
Copy link

fluid-e2e-bot bot commented Feb 18, 2025

Hi @JiGuoDing. Thanks for your PR.

I'm waiting for a fluid-cloudnative member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

// - phase (datav1alpha1.DatasetPhase): The new phase to update the dataset to.
//
// Returns:
// - err (error): Returns an error if the update process fails, otherwise returns nil.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I suggest using the following format to write multi-line comments in Go:

/*
UpdateDatasetStatus updates the phase and conditions of the dataset based on the given phase,
and updates the cache state based on the runtime status.

Parameters:
  - phase (datav1alpha1.DatasetPhase): The new phase to update the dataset to.

Returns:
  - err (error): Returns an error if the update process fails, otherwise returns nil.
*/

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Got it.

@cheyang cheyang changed the title Add notation to UpdateDatasetStatus in pkg/ddc/jindo/dataset.go. Add comments to UpdateDatasetStatus in pkg/ddc/jindo/dataset.go Feb 19, 2025
@cheyang
Copy link
Collaborator

cheyang commented Feb 19, 2025

Syspretor and others added 6 commits February 19, 2025 19:31
…ple dataset failed status with fuse status (#4498)

Signed-off-by: jiuyu <guotongyu.gty@alibaba-inc.com>
Co-authored-by: jiuyu <guotongyu.gty@alibaba-inc.com>
Signed-off-by: JiGuoDing <485204300@qq.com>
Signed-off-by: JiGuoDing <485204300@qq.com>
Signed-off-by: JiGuoDing <485204300@qq.com>
Signed-off-by: JiGuoDing <485204300@qq.com>
@JiGuoDing
Copy link
Collaborator Author

Hello @cheyang, how about now? Is there anything else i need to do?

Signed-off-by: JiGuoDing <485204300@qq.com>
@sonarqubecloud
Copy link

Copy link
Collaborator

@cheyang cheyang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm
/approve

@fluid-e2e-bot
Copy link

fluid-e2e-bot bot commented Feb 20, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: cheyang

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@cheyang
Copy link
Collaborator

cheyang commented Feb 20, 2025

Thanks very much for your contribution!

@fluid-e2e-bot fluid-e2e-bot bot merged commit ea9af9f into fluid-cloudnative:master Feb 20, 2025
14 checks passed
@JiGuoDing
Copy link
Collaborator Author

  1. Describe what this PR does
    Add comments to UpdateDatasetStatus in pkg/ddc/jindo/dataset.go.
  2. Does this pull request fix one issue?
    fixes Add comments to UpdateDatasetStatus in pkg/ddc/jindo/dataset.go. #4516
  3. Special notes for reviews

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants