Skip to content

Commit

Permalink
rename Weblogic to WebLogic
Browse files Browse the repository at this point in the history
  • Loading branch information
klauern committed Sep 23, 2017
1 parent cbb9a67 commit fd37a3a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion wls/client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ func TestServerResourceRelatedCalls(t *testing.T) {
{server.ClusterName, ""},
{server.State, "RUNNING"},
{server.CurrentMachine, "machine-0"},
{server.WeblogicVersion, "WebLogic Server 12.1.1.0.0 Thu May 5 01:17:16 2011 PDT"},
{server.WebLogicVersion, "WebLogic Server 12.1.1.0.0 Thu May 5 01:17:16 2011 PDT"},
{fmt.Sprint(server.OpenSocketsCurrentCount), "2"},
{server.Health, "HEALTH_OK"},
{fmt.Sprint(server.HeapSizeCurrent), "536870912"},
Expand Down
4 changes: 2 additions & 2 deletions wls/servers.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type Server struct {
Health string `json:"health"`
ClusterName string `json:"clusterName,omitempty"`
CurrentMachine string `json:",omitempty"`
WeblogicVersion string `json:",omitempty"`
WebLogicVersion string `json:",omitempty"`
OpenSocketsCurrentCount float64 `json:",omitempty"`
HeapSizeCurrent int `json:",omitempty"`
HeapFreeCurrent int `json:",omitempty"`
Expand All @@ -40,7 +40,7 @@ func (s *Server) GoString() string {
buffer.WriteString(fmt.Sprintf("Cluster: %-14v| CurrentMachine: %-14v| JVM Load: %-55v\n", s.ClusterName, s.CurrentMachine, s.JvmProcessorLoad))
buffer.WriteString(fmt.Sprintf("Sockets #: %-14v| Heap Sz Cur: %-14v| Heap Free Cur: %-55v\n", s.OpenSocketsCurrentCount, s.HeapSizeCurrent, s.HeapFreeCurrent))
buffer.WriteString(fmt.Sprintf("Java Ver: %-14v| OS Name: %-14v| OS Version: %-55v\n", s.JavaVersion, s.OsName, s.OsVersion))
buffer.WriteString(fmt.Sprintf("WLS Version: %-14v\n", s.WeblogicVersion))
buffer.WriteString(fmt.Sprintf("WLS Version: %-14v\n", s.WebLogicVersion))
return buffer.String()
}

Expand Down
2 changes: 1 addition & 1 deletion wls/servers_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ func TestUnmarshalSingleServer(t *testing.T) {
{server.ClusterName, ""},
{server.State, "RUNNING"},
{server.CurrentMachine, "machine-0"},
{server.WeblogicVersion, "WebLogic Server 12.1.1.0.0 Thu May 5 01:17:16 2011 PDT"},
{server.WebLogicVersion, "WebLogic Server 12.1.1.0.0 Thu May 5 01:17:16 2011 PDT"},
{fmt.Sprint(server.OpenSocketsCurrentCount), "2"},
{server.Health, "HEALTH_OK"},
{fmt.Sprint(server.HeapSizeCurrent), "536870912"},
Expand Down

0 comments on commit fd37a3a

Please sign in to comment.