Skip to content

Commit d9caa15

Browse files
Update pkg/standalone/common.go
Co-authored-by: Shubham Sharma <[email protected]> Signed-off-by: Pravin Pushkar <[email protected]>
1 parent 0363365 commit d9caa15

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/standalone/common.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ func DefaultResourcesDirPath() string {
5454
return path_filepath.Join(defaultDaprDirPath(), defaultResourcesDirName)
5555
}
5656

57-
// when either `components-path` or `resources-path` flags are not present then preference is given to resources dir and then components dir.
57+
// DefaultResourcesDirPrecedence returns the path to the resources directory if it exists, or otherwise the components directory.
5858
// TODO: Remove this function and use `DefaultResourcesDirPath` when `--components-path` flag is removed.
5959
func DefaultResourcesDirPrecedence() string {
6060
defaultResourcesDirPath := DefaultResourcesDirPath()

0 commit comments

Comments
 (0)