Commit b2a4a661 authored by Miguel Angel Reina Ortega's avatar Miguel Angel Reina Ortega
Browse files

Typo in several go files

parent 53fe2322
Loading
Loading
Loading
Loading
+8197 −0

File added.

Preview size limit exceeded, changes collapsed.

+0 −14
Original line number Diff line number Diff line
@@ -566,20 +566,6 @@ func login(w http.ResponseWriter, r *http.Request) {
			return
		}

		// Connect to GIS engine
		gisClientCfg := gis.NewConfiguration()
		gisClientCfg.BasePath = sandboxApiConnectors.uri.String() + "/" + sandboxName + "/gis/v1"
		log.Info("gisClientCfg.BasePath: ", gisClientCfg.BasePath)
		gisClientCfg.HTTPClient = &http.Client{Transport: tr}
		log.Info("gisClientCfg.HTTPClient: ", gisClientCfg.HTTPClient)
		sandboxApiConnectors.gisClient[sandboxName] = gis.NewAPIClient(gisClientCfg)
		if sandboxApiConnectors.gisClient[sandboxName] == nil {
			log.Error("Failed to create Sandbox GIS REST API client")
			_ = processLogout(sandboxName, w, r)
			w.WriteHeader(http.StatusInternalServerError)
			return
		}

		metricSessionSuccess.Inc()
		if isNew {
			metricSessionActive.Inc()
+1 −2
Original line number Diff line number Diff line
@@ -24,6 +24,5 @@
package server

type SubscriptionLinkList struct {

	Links *SubscriptionLinkListLinks `json:"_links,omitempty"`
}
+1 −2
Original line number Diff line number Diff line
@@ -25,7 +25,6 @@ package server

// List of hyperlinks related to the resource.
type SubscriptionLinkListLinks struct {

	Self *LinkType `json:"self"`
	// The service consumer's subscriptions.
	Subscriptions []SubscriptionLinkListLinksSubscriptions `json:"subscriptions,omitempty"`
+1 −1

File changed.

Contains only whitespace changes.

+1 −1

File changed.

Contains only whitespace changes.

+1 −1

File changed.

Contains only whitespace changes.

+1 −1

File changed.

Contains only whitespace changes.

+1 −1

File changed.

Contains only whitespace changes.

+2 −2

File changed.

Contains only whitespace changes.

+1 −1

File changed.

Contains only whitespace changes.

+1 −1

File changed.

Contains only whitespace changes.

+1 −1

File changed.

Contains only whitespace changes.

+1 −1

File changed.

Contains only whitespace changes.

+1 −1

File changed.

Contains only whitespace changes.

Loading