-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: implemented cloud agent #104
feat: implemented cloud agent #104
Conversation
Signed-off-by: Alejandro Villegas <[email protected]>
Signed-off-by: Alejandro Villegas <[email protected]>
Signed-off-by: Alejandro Villegas <[email protected]>
…tServer and clients objects for better coding Signed-off-by: Alejandro Villegas <[email protected]>
Signed-off-by: Alejandro Villegas <[email protected]>
Signed-off-by: Alejandro Villegas <[email protected]>
Signed-off-by: Alejandro Villegas <[email protected]>
…TP responses causing errors on the Console Signed-off-by: Alejandro Villegas <[email protected]>
Signed-off-by: Alejandro Villegas <[email protected]>
Signed-off-by: Alejandro Villegas <[email protected]>
Signed-off-by: Alejandro Villegas <[email protected]>
Signed-off-by: Alejandro Villegas <[email protected]>
Signed-off-by: Alejandro Villegas <[email protected]>
…ests for better performance Signed-off-by: Alejandro Villegas <[email protected]>
…r check; Vars renaming to prevent name collision; fixed comments typos Signed-off-by: Alejandro Villegas <[email protected]>
Signed-off-by: Alejandro Villegas <[email protected]>
Signed-off-by: Alejandro Villegas <[email protected]>
Signed-off-by: Alejandro Villegas <[email protected]>
Signed-off-by: Alejandro Villegas <[email protected]>
} | ||
|
||
// PowerOff | ||
logger.Warn("Powering On Cluster", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Typo, must be Powering Off Cluster
|
||
// PowerOn | ||
logger.Warn("Powering On Cluster", | ||
zap.String("accound_id", req.AccountName), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Typo for the entire file. Must be account_name
|
||
// Serving gRPC | ||
if err := grpcServer.Serve(lis); err != nil { | ||
log.Fatalf("Error al servir: %v", err) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Spanish
grpcServer := grpc.NewServer(grpc.UnaryInterceptor(LoggingInterceptor)) | ||
reflection.Register(grpcServer) | ||
if grpcServer == nil { | ||
fmt.Println("la jodimos") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Spanish
} | ||
|
||
// PowerOn | ||
logger.Warn("Powering On Cluster", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mixing the logger for the entire file
If we are using a service logger it should be a.logger.warn
instead of logger.warn
closes #98