Skip to content

Commit

Permalink
remove license comments
Browse files Browse the repository at this point in the history
  • Loading branch information
leoparente committed Oct 15, 2024
1 parent 6f87678 commit f3aec01
Show file tree
Hide file tree
Showing 18 changed files with 5 additions and 78 deletions.
4 changes: 0 additions & 4 deletions agent/agent.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */

package agent

import (
Expand Down
4 changes: 0 additions & 4 deletions agent/backend/backend.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */

package backend

import (
Expand Down
4 changes: 0 additions & 4 deletions agent/backend/pktvisor/pktvisor.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */

package pktvisor

import (
Expand Down
4 changes: 0 additions & 4 deletions agent/backend/pktvisor/policy.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */

package pktvisor

import (
Expand Down
4 changes: 0 additions & 4 deletions agent/backend/pktvisor/scrape.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */

package pktvisor

import (
Expand Down
4 changes: 0 additions & 4 deletions agent/backend/pktvisor/utils.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */

package pktvisor

import (
Expand Down
4 changes: 0 additions & 4 deletions agent/cloud_config/cloud_config.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */

package cloud_config

import (
Expand Down
4 changes: 0 additions & 4 deletions agent/comms.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */

package agent

import (
Expand Down
4 changes: 0 additions & 4 deletions agent/config/types.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */

package config

type TLS struct {
Expand Down
4 changes: 0 additions & 4 deletions agent/heartbeats.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */

package agent

import (
Expand Down
4 changes: 0 additions & 4 deletions agent/logging.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */

package agent

import (
Expand Down
5 changes: 1 addition & 4 deletions agent/policies/repo.go
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */

package policies

import (
"errors"

"go.uber.org/zap"
)

Expand Down
7 changes: 2 additions & 5 deletions agent/policies/types.go
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */

package policies

import (
"database/sql/driver"
_ "github.com/mattn/go-sqlite3"
"time"

_ "github.com/mattn/go-sqlite3"
)

type PolicyData struct {
Expand Down
4 changes: 0 additions & 4 deletions agent/policyMgr/manager.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */

package manager

import (
Expand Down
7 changes: 2 additions & 5 deletions agent/rpc_from.go
Original file line number Diff line number Diff line change
@@ -1,14 +1,11 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */

package agent

import (
"context"
"encoding/json"
"fmt"
"github.com/eclipse/paho.mqtt.golang"

mqtt "github.com/eclipse/paho.mqtt.golang"
"github.com/orb-community/orb/fleet"
"go.uber.org/zap"
)
Expand Down
4 changes: 0 additions & 4 deletions agent/rpc_to.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */

package agent

import (
Expand Down
8 changes: 0 additions & 8 deletions buildinfo/version.go
Original file line number Diff line number Diff line change
@@ -1,11 +1,3 @@
// Copyright (c) Mainflux
// SPDX-License-Identifier: Apache-2.0

// Adapted for Orb project, modifications licensed under MPL v. 2.0:
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */

package buildinfo

import (
Expand Down
4 changes: 0 additions & 4 deletions cmd/main.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */

package main

import (
Expand Down

0 comments on commit f3aec01

Please sign in to comment.