From ccd90e6ccd30313b5df9137b7fd221a3c1b3343f Mon Sep 17 00:00:00 2001 From: O F Date: Mon, 25 Dec 2023 10:56:58 -0800 Subject: [PATCH] chore(ds-host): update comments --- cmd/ds-host/domain/domain.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/cmd/ds-host/domain/domain.go b/cmd/ds-host/domain/domain.go index 831d950e..9a38e1dc 100644 --- a/cmd/ds-host/domain/domain.go +++ b/cmd/ds-host/domain/domain.go @@ -459,7 +459,7 @@ type AppVersionUI struct { type AppGetKey string // ProcessProblem are consts that enable checking for -// a specific problem at processing time. +// a specific type of problem at processing time. type ProcessProblem string const ProblemEmpty ProcessProblem = "empty" @@ -472,7 +472,7 @@ const ProblemNotFound ProcessProblem = "not-found" const ProblemError ProcessProblem = "error" // ProblemPoorExperience indicate the value is usable but does -// not meet best practices +// not meet best practices and affects the user's experience const ProblemPoorExperience ProcessProblem = "poor-experience" type ProcessWarning struct { @@ -480,7 +480,6 @@ type ProcessWarning struct { Problem ProcessProblem `json:"problem"` // Problem for classification BadValue string `json:"bad_value"` // BadValue of field for safe display Message string `json:"message"` // Message for user or developer - // Add Fatal field to indicate that process failed and this is why? } // AppGetMeta has app version data and any errors found in it