Skip to content

Commit 2007ed5

Browse files
Apply suggestions from code review
Co-authored-by: Shubham Sharma <[email protected]> Signed-off-by: Pravin Pushkar <[email protected]>
1 parent d9caa15 commit 2007ed5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pkg/standalone/common.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ func DefaultConfigFilePath() string {
6868
return path_filepath.Join(defaultDaprDirPath(), defaultConfigFileName)
6969
}
7070

71-
// It used to copy existing resources from components dir to resources dir.
71+
// emptyAndCopyFiles copies files from src to dest. It deletes the existing files in dest before copying from src.
7272
// TODO: Remove this function when `--components-path` flag is removed.
7373
func moveFilesFromComponentsToResourcesDir(componentsDirPath, resourcesDirPath string) error {
7474
if _, err := os.Stat(componentsDirPath); err == nil {

pkg/standalone/standalone.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ func Init(runtimeVersion, dashboardVersion string, dockerNetwork string, slimMod
243243
stopSpinning := print.Spinner(os.Stdout, msg)
244244
defer stopSpinning(print.Failure)
245245

246-
// Make default components directory.
246+
// Make default resources directory.
247247
err = makeDefaultResourcesDir()
248248
if err != nil {
249249
return err

0 commit comments

Comments
 (0)