Code Review
/
ric-plt
/
e2mgr.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
RIC-395:E2M new REST API - E2M Set Parameters
[ric-plt/e2mgr.git]
/
E2Manager
/
configuration
/
configuration.go
diff --git
a/E2Manager/configuration/configuration.go
b/E2Manager/configuration/configuration.go
index
89515e4
..
791360a
100644
(file)
--- a/
E2Manager/configuration/configuration.go
+++ b/
E2Manager/configuration/configuration.go
@@
-152,7
+152,7
@@
func validateGlobalRicIdConfig(globalRicIdConfig *viper.Viper) error {
func validateMcc(mcc string) error {
if len(mcc) == 0{
func validateMcc(mcc string) error {
if len(mcc) == 0{
- return errors.New("#configuration.validateMcc - mcc is
emtpy or missing
\n")
+ return errors.New("#configuration.validateMcc - mcc is
missing or empty
\n")
}
if len(mcc) != 3{
}
if len(mcc) != 3{
@@
-174,7
+174,7
@@
func validateMcc(mcc string) error {
func validateMnc(mnc string) error {
if len(mnc) == 0{
func validateMnc(mnc string) error {
if len(mnc) == 0{
- return errors.New("#configuration.validateMnc - mnc is
emtpy or missing
\n")
+ return errors.New("#configuration.validateMnc - mnc is
missing or empty
\n")
}
if len(mnc) < 2 || len(mnc) >3 {
}
if len(mnc) < 2 || len(mnc) >3 {
@@
-197,7
+197,7
@@
func validateMnc(mnc string) error {
func validateRicId(ricId string) error{
if len(ricId) == 0{
func validateRicId(ricId string) error{
if len(ricId) == 0{
- return errors.New("#configuration.validateRicId - ricId is
emtpy or missing
\n")
+ return errors.New("#configuration.validateRicId - ricId is
missing or empty
\n")
}
if len(ricId) != 5 {
}
if len(ricId) != 5 {