You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
These comment should describe what the side effects of each of these sections do.
Also add comments to the functions themselves (that are called above).
Improve the naming of the installGateway and installBasicAPIGateway functions. Really the first one, is the unity-proxy, and it is confusing with the concept of API Gateway.
The UpdateCoreConfig function doesn't seem to exist in bootstrap.go, but instead exists in https://github.com/unity-sds/unity-management-console/blob/main/backend/internal/processes/coreconfig.go. Comment this line. We will probably want to make a call to this in the near future.
The text was updated successfully, but these errors were encountered:
galenatjpl
changed the title
Management Console Code Understanding and Improvement
Management Console bootstrap.go Code Understanding and Improvement
Aug 20, 2024
Do the following, to improve the understanding of the code:
func BootstrapEnv
. Put comment above the following lines:These comment should describe what the side effects of each of these sections do.
Also add comments to the functions themselves (that are called above).
Improve the naming of the
installGateway
andinstallBasicAPIGateway
functions. Really the first one, is theunity-proxy
, and it is confusing with the concept of API Gateway.There is this commented out code:
The
UpdateCoreConfig
function doesn't seem to exist in bootstrap.go, but instead exists inhttps://github.com/unity-sds/unity-management-console/blob/main/backend/internal/processes/coreconfig.go
. Comment this line. We will probably want to make a call to this in the near future.The text was updated successfully, but these errors were encountered: