Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for checkFromVersion (0.19 sec)

  1. istioctl/pkg/precheck/precheck_test.go

    		t.Run(fmt.Sprintf("revision=%s, version=%s", c.revision, c.version), func(t *testing.T) {
    			ctx := cli.NewFakeContext(&cli.NewFakeContextOption{
    				IstioNamespace: "istio-system",
    			})
    			output, err := checkFromVersion(ctx, c.revision, c.version)
    
    			assert.Equal(t, output, c.expectedOutput)
    
    			if c.expectedError != nil {
    				assert.Error(t, err)
    			} else {
    				assert.NoError(t, err)
    			}
    		})
    	}
    }
    
    Registered: Wed Oct 30 22:53:10 UTC 2024
    - Last Modified: Tue Jul 09 12:01:22 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  2. istioctl/pkg/precheck/precheck.go

    			msgs := diag.Messages{}
    			if !skipControlPlane {
    				msgs, err = checkControlPlane(ctx)
    				if err != nil {
    					return err
    				}
    			}
    
    			if fromCompatibilityVersion != "" {
    				m, err := checkFromVersion(ctx, opts.Revision, fromCompatibilityVersion)
    				if err != nil {
    					return err
    				}
    				msgs = append(msgs, m...)
    			}
    
    			// Print all the messages to stdout in the specified format
    Registered: Wed Oct 30 22:53:10 UTC 2024
    - Last Modified: Thu Oct 24 02:31:32 UTC 2024
    - 15.3K bytes
    - Viewed (0)
Back to top