Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions pkg/ddc/alluxio/ufs_internal.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@
return
}


Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

nit: There is an extra blank line before the comment block. Go convention is to have exactly one blank line between top-level declarations. Consider removing the extra blank line so the comment sits directly after the single blank line separating it from the previous function.

// freeStorageBytesInternal returns the amount of free storage space (in bytes) within the Alluxio filesystem.
// It currently returns zero values as the implementation has not been completed.
// TODO: implement the query logic to retrieve the actual free bytes from the Alluxio master.

Check warning on line 47 in pkg/ddc/alluxio/ufs_internal.go

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Complete the task associated to this TODO comment.

See more on https://sonarcloud.io/project/issues?id=fluid-cloudnative_fluid&issues=AZ7bZNVo-MsgTZ5gIbhi&open=AZ7bZNVo-MsgTZ5gIbhi&pullRequest=6036
func (e *AlluxioEngine) freeStorageBytesInternal() (value int64, err error) {
return
}
Expand Down
Loading