diff --git a/internal/manager/api_impl/meta.go b/internal/manager/api_impl/meta.go index f346b228..e33f14e6 100644 --- a/internal/manager/api_impl/meta.go +++ b/internal/manager/api_impl/meta.go @@ -142,7 +142,7 @@ func (f *Flamenco) CheckSharedStoragePath(e echo.Context) error { // There is a directory, and we can create a file there. Should be good to go. return e.JSON(http.StatusOK, api.PathCheckResult{ - Cause: "Directory checked OK!", + Cause: "Directory checked successfully", IsUsable: true, Path: path, }) diff --git a/internal/manager/api_impl/meta_test.go b/internal/manager/api_impl/meta_test.go index 56b6b000..b7a458bb 100644 --- a/internal/manager/api_impl/meta_test.go +++ b/internal/manager/api_impl/meta_test.go @@ -91,7 +91,7 @@ func TestCheckSharedStoragePath(t *testing.T) { assertResponseJSON(t, echoCtx, http.StatusOK, api.PathCheckResult{ Path: mf.tempdir, IsUsable: true, - Cause: "Directory checked OK!", + Cause: "Directory checked successfully", }) files, err := filepath.Glob(filepath.Join(mf.tempdir, "*")) if assert.NoError(t, err) {