[VOL-5254] - repo:ofagent-go release tag & branch
cmd/*.go
internal/*.go
-------------
o Update copyright notice ending date.
o Run gofmt -s -e -w to avoid linting problems.
o Baseline build to screen for pre-existing repo problems.
Change-Id: Ie52512b47dc88233b0bf9caf9926e0770dee967a
diff --git a/internal/pkg/ofagent/common.go b/internal/pkg/ofagent/common.go
index ee4cb41..350564a 100644
--- a/internal/pkg/ofagent/common.go
+++ b/internal/pkg/ofagent/common.go
@@ -1,5 +1,5 @@
/*
- * Copyright 2020-2023 Open Networking Foundation (ONF) and the ONF Contributors
+ * Copyright 2020-2024 Open Networking Foundation (ONF) and the ONF Contributors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/internal/pkg/ofagent/connection.go b/internal/pkg/ofagent/connection.go
index 0b1dab0..50ceb7a 100644
--- a/internal/pkg/ofagent/connection.go
+++ b/internal/pkg/ofagent/connection.go
@@ -1,17 +1,17 @@
/*
- Copyright 2020 the original author or authors.
+Copyright 2020 the original author or authors.
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
- http://www.apache.org/licenses/LICENSE-2.0
+ http://www.apache.org/licenses/LICENSE-2.0
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
*/
package ofagent
diff --git a/internal/pkg/ofagent/refresh.go b/internal/pkg/ofagent/refresh.go
index d88d68b..18546ea 100644
--- a/internal/pkg/ofagent/refresh.go
+++ b/internal/pkg/ofagent/refresh.go
@@ -125,7 +125,7 @@
return ofc
}
-//clearAllOFClient clears all OF connections for all clients
+// clearAllOFClient clears all OF connections for all clients
func (ofa *OFAgent) clearAllOFClient() {
logger.Debug(context.Background(), "stopping-all-of-connections...")
ofa.mapLock.Lock()