Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 204 for deleting (0.1 sec)

  1. tests/associations_has_many_test.go

    		t.Errorf("no error should happened when deleting pet, but got %v", err)
    	}
    
    	AssertAssociationCount(t, users, "Pets", 4, "after delete")
    
    	if err := DB.Model(&users).Association("Pets").Delete(users[0].Pets[0], users[1].Pets[1]); err != nil {
    		t.Errorf("no error should happened when deleting pet, but got %v", err)
    	}
    
    	AssertAssociationCount(t, users, "Pets", 2, "after delete")
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Jun 12 10:49:45 UTC 2024
    - 16K bytes
    - Viewed (0)
  2. tests/associations_many2many_test.go

    		t.Errorf("no error should happened when deleting language, but got %v", err)
    	}
    
    	AssertAssociationCount(t, users, "Languages", 4, "after delete")
    
    	if err := DB.Model(&users).Association("Languages").Delete(users[0].Languages[0], users[1].Languages[1]); err != nil {
    		t.Errorf("no error should happened when deleting language, but got %v", err)
    	}
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Sat Jun 10 13:05:19 UTC 2023
    - 13.2K bytes
    - Viewed (0)
  3. istioctl/pkg/tag/util.go

    		return false
    	}
    	return len(mwhs.Items) > 0
    }
    
    // DeactivateIstioInjectionWebhook deactivates the istio-injection webhook from the given MutatingWebhookConfiguration if exists.
    // used rather than just deleting the webhook since we want to keep it around after changing the default so user can later
    // switch back to it. This is a hack but it is meant to cover a corner case where a user wants to migrate from a non-revisioned
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/ResponseDataUtil.java

                fos = new FileOutputStream(tempFile);
                CopyUtil.copy(is, fos);
            } catch (final Exception e) {
                CloseableUtil.closeQuietly(fos); // for deleting file
                FileUtil.deleteInBackground(tempFile); // clean up
                throw new CrawlingAccessException("Could not read a response body: " + responseData.getUrl(), e);
            } finally {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  5. tests/associations_has_one_test.go

    	// Replace -> same as append
    
    	// Delete
    	if err := DB.Model(&users).Association("Account").Delete(&users[0].Account); err != nil {
    		t.Errorf("no error should happened when deleting account, but got %v", err)
    	}
    
    	AssertAssociationCount(t, users, "Account", 2, "after delete")
    
    	// Clear
    	DB.Model(&users).Association("Account").Clear()
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Jun 12 10:49:45 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  6. cni/pkg/repair/repaircontroller.go

    )
    
    func (c *Controller) deleteBrokenPod(pod *corev1.Pod) error {
    	m := podsRepaired.With(typeLabel.Value(deleteType))
    	repairLog.Infof("Pod detected as broken, deleting: %s/%s", pod.Namespace, pod.Name)
    
    	// Make sure we are deleting what we think we are...
    	preconditions := &metav1.Preconditions{
    		UID:             &pod.UID,
    		ResourceVersion: &pod.ResourceVersion,
    	}
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Sat Feb 10 00:31:55 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  7. .teamcity/README.md

      - If anything bad happens, feel free to delete the project you created and retry (you may need to apply `Synchronization disabled` before deleting it).  
        
    If no errors, your new pipeline will be displayed on TeamCity web UI:
    
    ```
    Gradle
    |------ Master
    |        |--------- ...
    |
    |------ Release
    |        |--------- ...
    |                
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Mar 06 23:02:25 UTC 2024
    - 4K bytes
    - Viewed (0)
  8. cni/pkg/iptables/iptables.go

    	inPodConfigurator.ext = podDeps
    	return configurator, inPodConfigurator, nil
    }
    
    func (cfg *IptablesConfigurator) DeleteInpodRules() error {
    	var inpodErrs []error
    
    	log.Debug("Deleting iptables rules")
    
    	inpodErrs = append(inpodErrs, cfg.executeDeleteCommands(), cfg.delInpodMarkIPRule(), cfg.delLoopbackRoute())
    	return errors.Join(inpodErrs...)
    }
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue Oct 15 15:39:28 UTC 2024
    - 23.3K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/helper/ThemeHelper.java

            try (Stream<Path> walk = Files.walk(dir, FileVisitOption.FOLLOW_LINKS)) {
                walk.sorted(Comparator.reverseOrder()).forEach(f -> {
                    if (logger.isDebugEnabled()) {
                        logger.debug("Deleting {}", f);
                    }
                    try {
                        Files.delete(f);
                    } catch (final IOException e) {
                        logger.warn("Failed to delete {}", f, e);
                    }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  10. cni/pkg/nodeagent/informers.go

    		// remove it (the pod process is gone, but kube will keep the Pods around in
    		// a terminated || failed state - we should still do cleanup)
    		if isAnnotated && isTerminated {
    			log.Debugf("deleting pod from mesh: pod was enabled but is now terminated")
    			// Unlike the other cases, we actually want to use the "old" event for terminated job pods
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 11.7K bytes
    - Viewed (0)
Back to top