Manager: Rephrase wording on report for successfully writing to Shared Storage

* Replace "OK!" with "successfully"
  Remove exclamation mark since there is no need to call for attention.
  Use "successfully" as it is more descriptive in this case than OK,
  which can have other meanings.
This commit is contained in:
Pablo Vazquez 2022-07-22 13:12:06 +02:00 committed by Francesco Siddi
parent cac3b35c9d
commit 53598c3ee0
2 changed files with 2 additions and 2 deletions

View File

@ -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,
})

View File

@ -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) {