Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions pkg/types/clusterconfig/errors.go
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ func ErrorOnDemandBaseCapacityGreaterThanMax(onDemandBaseCapacity int64, max int
func ErrorConfigCannotBeChangedOnUpdate(configKey string, prevVal interface{}) error {
return errors.WithStack(&errors.Error{
Kind: ErrConfigCannotBeChangedOnUpdate,
Message: fmt.Sprintf("modifying %s in a running cluster is not supported, please set %s to its previous value: %s", configKey, configKey, s.UserStr(prevVal)),
Message: fmt.Sprintf("modifying %s in a running cluster is not supported, please set %s to its previous value (%s)", configKey, configKey, s.UserStr(prevVal)),
})
}

Expand Down Expand Up @@ -246,6 +246,6 @@ func ErrorCantOverrideDefaultTag() error {
func ErrorSSLCertificateARNNotFound(sslCertificateARN string, region string) error {
return errors.WithStack(&errors.Error{
Kind: ErrSSLCertificateARNNotFound,
Message: fmt.Sprintf("unable to find the specified ssl certificate in region %s: %s", region, sslCertificateARN),
Message: fmt.Sprintf("unable to find the specified ssl certificate in %s: %s", region, sslCertificateARN),
})
}
2 changes: 1 addition & 1 deletion pkg/types/spec/errors.go
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ func ErrorInvalidTensorFlowModelPath() error {
func ErrorMissingModel(predictorType userconfig.PredictorType) error {
return errors.WithStack(&errors.Error{
Kind: ErrMissingModel,
Message: fmt.Sprintf("at least one model must be specified for %s predictor type; use fields %s:%s or %s:%s to add model(s)", predictorType, userconfig.PredictorKey, userconfig.ModelPathKey, userconfig.PredictorKey, userconfig.ModelsKey),
Message: fmt.Sprintf("at least one model must be specified for the %s predictor type; use fields %s.%s or %s.%s to add model(s)", predictorType, userconfig.PredictorKey, userconfig.ModelPathKey, userconfig.PredictorKey, userconfig.ModelsKey),
})
}

Expand Down