Skip to content

Commit 9161d8d

Browse files
Cr 15336 (#664)
* added warning message for network errors * reduced timeout for creating analytics reporter * reduced time to check for new cli version to 2s * bump * codegen * fix codegen for new year :)
1 parent ee115de commit 9161d8d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+121
-92
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
VERSION=v0.1.25
1+
VERSION=v0.1.26
22

33
OUT_DIR=dist
44
YEAR?=$(shell date +"%Y")

cmd/commands/cluster.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2022 The Codefresh Authors.
1+
// Copyright 2023 The Codefresh Authors.
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

cmd/commands/cluster_test.go

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2022 The Codefresh Authors.
1+
// Copyright 2023 The Codefresh Authors.
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.
@@ -71,33 +71,33 @@ func Test_sanitizeClusterName(t *testing.T) {
7171
name string
7272
}
7373
tests := []struct {
74-
name string
75-
args args
76-
want string
74+
name string
75+
args args
76+
want string
7777
wantErr bool
7878
}{
7979
{
8080
name: "should return sanitized string",
8181
args: args{
8282
name: "^-.Test!@-:cluster&*`;')test.cluster(-12_3=+::±§.",
8383
},
84-
want: "test----cluster------test-cluster--12-3",
84+
want: "test----cluster------test-cluster--12-3",
8585
wantErr: false,
8686
},
8787
{
8888
name: "should return sanitized string",
8989
args: args{
9090
name: "^-.123test!@-:cluster&*`;')test.cluster(-12_3=+::±§.",
9191
},
92-
want: "test----cluster------test-cluster--12-3",
92+
want: "test----cluster------test-cluster--12-3",
9393
wantErr: false,
9494
},
9595
{
9696
name: "should return error of sanitization failed",
9797
args: args{
9898
name: "12345",
9999
},
100-
want: "",
100+
want: "",
101101
wantErr: true,
102102
},
103103
}

cmd/commands/common.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2022 The Codefresh Authors.
1+
// Copyright 2023 The Codefresh Authors.
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

cmd/commands/completion.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2022 The Codefresh Authors.
1+
// Copyright 2023 The Codefresh Authors.
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

cmd/commands/component.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2022 The Codefresh Authors.
1+
// Copyright 2023 The Codefresh Authors.
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

cmd/commands/config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2022 The Codefresh Authors.
1+
// Copyright 2023 The Codefresh Authors.
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

cmd/commands/git-source.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2022 The Codefresh Authors.
1+
// Copyright 2023 The Codefresh Authors.
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

cmd/commands/integrations.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2022 The Codefresh Authors.
1+
// Copyright 2023 The Codefresh Authors.
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

cmd/commands/pipeline.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2022 The Codefresh Authors.
1+
// Copyright 2023 The Codefresh Authors.
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

0 commit comments

Comments
 (0)