@@ -16,11 +16,11 @@ import (
1616)
1717
1818func main () {
19- catcher .Info ("Starting aws module..." , map [ string ] any {} )
19+ catcher .Info ("Starting aws module..." , nil )
2020 intKey := configuration .GetInternalKey ()
2121 panelServ := configuration .GetPanelServiceName ()
2222 if intKey == "" || panelServ == "" {
23- catcher .Error ("Internal key or panel service name is not set. Exiting..." , nil , map [ string ] any {} )
23+ catcher .Error ("Internal key or panel service name is not set. Exiting..." , nil , nil )
2424 os .Exit (1 )
2525 }
2626 client := utmconf .NewUTMClient (intKey , "http://" + panelServ )
@@ -33,7 +33,7 @@ func main() {
3333
3434 for range ticker .C {
3535 if err := utils .ConnectionChecker (configuration .URL_CHECK_CONNECTION ); err != nil {
36- catcher .Error ("Failed to establish connection" , err , map [ string ] any {} )
36+ catcher .Error ("Failed to establish connection" , err , nil )
3737 }
3838
3939 endTime := time .Now ().UTC ()
@@ -43,10 +43,10 @@ func main() {
4343 moduleConfig , err := client .GetUTMConfig (enum .AWS_IAM_USER )
4444 if err != nil {
4545 if strings .Contains (err .Error (), "invalid character '<'" ) {
46- catcher .Error ("error getting configuration of the AWS module: backend is not available" , err , map [ string ] any {} )
46+ catcher .Error ("error getting configuration of the AWS module: backend is not available" , err , nil )
4747 }
4848 if strings .TrimSpace (err .Error ()) != "" {
49- catcher .Error ("error getting configuration of the AWS module" , err , map [ string ] any {} )
49+ catcher .Error ("error getting configuration of the AWS module" , err , nil )
5050 }
5151 continue
5252 }
0 commit comments