Skip to content

Commit cfc5f62

Browse files
committed
fix error messages
1 parent 668cd92 commit cfc5f62

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/util/v1beta1/katibconfig/config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ func GetEarlyStoppingConfigData(earlyStoppingSpec *common.EarlyStoppingSpec, cli
205205
switch valueTypeConfigData {
206206
case ValueTypeInt:
207207
if _, err = strconv.Atoi(inputSetting.Value); err != nil {
208-
return EarlyStoppingConfig{}, fmt.Errorf("%s must be integer value for early stopping algorithm name: %s", inputSetting.Value, inputSetting.Name)
208+
return EarlyStoppingConfig{}, fmt.Errorf("%s must be integer value for early stopping algorithm setting name: %s", inputSetting.Value, inputSetting.Name)
209209
}
210210
default:
211211
return EarlyStoppingConfig{}, fmt.Errorf("failed to find early stopping algorithm setings value type: %s in ConfigMap: %s", valueTypeConfigData, consts.KatibConfigMapName)

0 commit comments

Comments
 (0)